Skip to content
FutureBlitz

    Install

    Import std.math.numbers

    MaxValue

    std.math.numbers

    function

    Public Function MaxValue<T: Bounded>(): T

    The highest value a T holds: for a float, its highest finite one.

    Examples

    Expect(MaxValue<UInt8>() == 255)
    Expect(MinValue<Int16>() == -32768)

    std/math/numbers.fb, line 377

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