Skip to content
FutureBlitz

    Install

    Import std.math.scalar

    Round

    std.math.scalar

    function

    Public Function Round<T: FloatingPoint>(value: T): T

    The nearest whole number, with a value halfway between two going away from 0: 2.5 is 3, and -2.5 is -3.

    std/math/scalar.fb, line 57

    Report an issue with this page or with FutureBlitz on GitHub.