fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_string_decimals

f64.as_string_decimals

as_string_decimals(fraction_digits i64) => String[Redefinition of  float.as_string_decimals][src]
convert this to a string with a fixed number of digits after the decimal point.
If the given values are unusable, the result is the same as `as_string`.
Overflows are technically possible, but floats become inaccurate long before that.

Arguments

fraction_digits i64[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23