fluent-rs icon indicating copy to clipboard operation
fluent-rs copied to clipboard

maximum_fraction_digits doesn't do anything

Open nazar-pc opened this issue 1 year ago • 1 comments

Setting this doesn't seem to have any effect whatsoever. I see it is set in the example here, but the input value doesn't have enough floating point digits to actually check it or else assertion would fail: https://github.com/projectfluent/fluent-rs/blob/bda4736095a4a60a9a042b336d0789c22461905d/fluent-bundle/examples/custom_formatter.rs#L123-L143

nazar-pc avatar Aug 03 '24 02:08 nazar-pc

According to fluent-bundle/src/types/number.rs most of the options seem to be doing nothing :confused:

nazar-pc avatar Aug 03 '24 03:08 nazar-pc