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

as_string_decimals

f32.as_string_decimals

fraction_digits i64
)
 => 
String
[Redefinition of  float.as_string_decimals]
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
0.099dev (GIT hash bf4ead724d7f3fdab43a87b63c17477c916c8995)
last changed: 2026-11-04