FluentValue::into_number
may cause issues with decimal conversions
#92
Labels
crate:fluent-bundle
Issues related to fluent-bundle crate
design-decision
Issues pending design decision, usually Rust specific
duplicate
enhancement
help wanted
We need help making decisions or writing PRs for this.
https://github.com/projectfluent/fluent-rs/blob/master/fluent-bundle/src/types.rs#L32
f64
has limited precision which may not accurately represent an input number, for instance if I'm using ad128
to represent currency.It might be worth writing a custom parser that validates inputs are usable numbers without modifying them.
The text was updated successfully, but these errors were encountered: