You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toFixedNumber currently uses parseFloat, which may (?) not be guaranteed to convert to the proper value in some cases.
It would be better to have toFixedNumber do a purely numeric conversion to the desired number of decimal places. Then toFixed would become toFixedNumber(…).toString.
The text was updated successfully, but these errors were encountered:
toFixedNumber currently uses parseFloat, which may (?) not be guaranteed to convert to the proper value in some cases.
It would be better to have toFixedNumber do a purely numeric conversion to the desired number of decimal places. Then toFixed would become toFixedNumber(…).toString.
The text was updated successfully, but these errors were encountered: