0

I have number:

const lngNumber: number = 44495442002226675;

console.log(lngNumber); // ->gives me 44495442002226670

I have no idea why? Btw, this is api response. Somehow the browser does not know how to display this but Postman does.

UPDATE Raw view from api response is ok, number is correct, "pretty" view is not, it is wrong.

Jared Smith
  • 19,721
  • 5
  • 45
  • 83
pregmatch
  • 2,629
  • 6
  • 31
  • 68

0 Answers0