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

round

🌌float.round

round floating point number
ties to away (0.5 => 1; -0.5 => -1; etc.)

NYI this could be made faster, see here:
https://cs.opensource.google/go/go/+/refs/tags/go1.18.1:src/math/floor.go;l=79