fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 79: Convert integer to floating point number
Idiom # 79: Convert integer to floating point number
See
programming-idioms.org
:
Code
y := x.as_f64
What are effects?
Running Example
ex79 is x := -2147483648 y := x.as_f64 say y
What are effects?
last changed: 2024-07-01
next: Idiom # 80: Truncate floating point number to integer