`toFixed()` is not working properly for some numbers

rfhvzgcqi

New Member
\[code\]Number#toFixed()\[/code\] is not working properly for some numbers.Eg:-\[code\]7.795.toFixed(2) //-> 7.79 #Instead it should display 7.808.895.toFixed(2)//-> 8.89 #Instead it should display 8.901.105.toFixed(2) //-> 1.10 #Instead it should display 1.1155.305.toFixed(2) //-> 55.30 #Instead it should display 55.31\[/code\]Please provide me with a solution to this problem.
 
Top