Skip to content
FutureBlitz

    Install

    Import std.math.scalar

    Fract

    std.math.scalar

    function

    Public Function Fract<T>(value: T): T

    What Floor takes away, from 0 to 1: Fract(-0.25) is 0.75. A negative value too close to a whole number for the type to hold the difference gives 1.

    std/math/scalar.fb, line 64

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