I have a specific number that constantly changes and currently looks like this:
800.60000305176541
Every time the number updates, I use the following code:
var mynumber = 800.60000305176541
var changenumber = mynumber.toFixed(3);
The output shows as 800.600
, but what I really need is to display only the last three digits like this:
800.541
Could someone please advise on how to achieve this?