bcmyers / num-format

A Rust crate for producing string representations of numbers, formatted according to international standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support floating point numbers

bcmyers opened this issue · comments

@bcmyers any update on the timeline for float support?

kinda making me sad this isn't better by now given all the popularity of the crate.

Dont waste time to get this library work for floats with hacks like
fract() / trunk() and
(x * 1000).round() / 1000
and copysign etc etc.

I'll try this https://docs.rs/format_num/latest/format_num/ instead

@enomado any luck with format_num?
I am also looking for solution that works with f64.

@azzamsa looks like I came to thousands crate.

Standard float format, then separate digits as chars.