Closed mdouchement closed 6 years ago
Parse function does not support float values.
Support float values.
str := bytes.Format(13231323) // -> 12.62MB b, err := bytes.Parse(str) // b -> 13233029 (truncated float 13233029.12) // err -> nil
str := bytes.Format(13231323) // str -> 12.62MB _, err := bytes.Parse(str) // err -> error parsing value=12.62MB
f72d3c883f8ea180da8f085dd320804c41332ad1
Fixed by - https://github.com/labstack/gommon/pull/16
Description
Parse function does not support float values.
Expected behaviour
Support float values.
Actual behaviour
Version/commit
f72d3c883f8ea180da8f085dd320804c41332ad1