go-units icon indicating copy to clipboard operation
go-units copied to clipboard

Fix HumanSizeWithPrecision invalid scientific notation

Open kmirzavaziri opened this issue 1 year ago • 2 comments

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.

kmirzavaziri avatar Jan 14 '24 16:01 kmirzavaziri

@thaJeztah Would appreciate if you could take a look at this.

kmirzavaziri avatar Jan 16 '24 10:01 kmirzavaziri

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?

thaJeztah avatar Jan 16 '24 11:01 thaJeztah