title: JavaScript - Incorrect automatic rounding decimal numbers
body: <p>I have big numbers coming from the backend service in my JS application. I don't want to lose any of the digits after the decimal place. </p>
  
  <p>However, when a number like 999999999999999.99 is assigned to a variable in JS, it rounds it to 1000000000000000 and 99999999999999.99 turns to 99999999999999.98.</p>
  
  <p>Both numbers are within the limits. i.e. less than <code>Number.MAX_SAFE_INTEGER</code></p>
  
  <p>See the above in action in the screenshot below:</p>
  
  <p><a href="https://i.stack.imgur.com/bUrTU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bUrTU.png" alt="enter image description here"></a></p>
  
  <p>Can anybody shed some light on it, please?</p>