go-units
go-units copied to clipboard
Fix HumanSizeWithPrecision invalid scientific notation
Fixes issue #44.
I am not sure if the function HumanSizeWithPrecision
with precision
of 1
behaves as expected. Please let me know if there is any improvement I can make.
@thaJeztah Would appreciate if you could take a look at this.
Thanks for working on this! I recall this was a bit fiddly when I last looked at it.
@krissetto perhaps you're interested to review this?