fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 65: Format decimal number
Idiom # 65: Format decimal number
See
programming-idioms.org
:
Code
# NYI: UNDER DEVELOPMENT: formatting for floating points missing say "\"{(x * 1000).as_i32.as_f64 / 10.0}%\""
What are effects?
Runnable Example
ex65 is x := 0.15625 # NYI: UNDER DEVELOPMENT: formatting for floating points missing say "\"{(x * 1000).as_i32.as_f64 / 10.0}%\""
What are effects?
last changed: 2024-07-01
next: Idiom # 66: Big integer exponentiation