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

Idiom # 81: Round floating point number to integer

See programming-idioms.org:

Note that the programming idiom states that rounding should be performed with ties to positive infinity.

Code

Example