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>
function displayDate()
var x=301070262315659265;

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

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


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