I have 18 digit value in nuber format from json and javascript is rounding up the value.
As an example this is the value 301070262315659265.
you can write basic js program and alert it , the value will be round to:301070262315659260
Basic JS
<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
var x=301070262315659265;
alert(x);
}
</script>
</head>
<body>

<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>

<button type="button" onclick="displayDate()">Display Date</button>

</body>
</html>

I have been through a lot of stuff online..Please if any suggestions and solution will be appreciated.