fn number(value: f64) -> Result<String, FpmlError>
A decimal as xsd:decimal spells it: Rust’s f64 display never uses an exponent, and is the shortest text that reads back to the same value.
xsd:decimal
f64