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
I am looking for values such as 1.2345, 12.123, 123.45, 1234.5, 12345 being returned with the same format, depending on the number of digits provided on the "whole number" side.
The following works up to 123.45343 type values:
numbro(123.45343).format({ totalLength: 5 }); = 123.45
but for larger numbers, it starts invoking the "average" functionality, even though I have not specified to use it.
numbro(1234.5343).format({ totalLength: 5 }); = 1.2345k, when I am looking for 1234.5.
Can totalLength and average be separated functionally? or average: false allowed?
The text was updated successfully, but these errors were encountered:
I am looking for values such as 1.2345, 12.123, 123.45, 1234.5, 12345 being returned with the same format, depending on the number of digits provided on the "whole number" side.
The following works up to 123.45343 type values:
numbro(123.45343).format({ totalLength: 5 }); = 123.45
but for larger numbers, it starts invoking the "average" functionality, even though I have not specified to use it.
numbro(1234.5343).format({ totalLength: 5 }); = 1.2345k, when I am looking for 1234.5.
Can totalLength and average be separated functionally? or average: false allowed?
The text was updated successfully, but these errors were encountered: