Hex Core JS
    Preparing search index...

    Function ceil

    • Returns the ceiling of a value to the nearest unit (e.g. 10, 1, 0.1).

      Parameters

      • value: number

        The number of which to get the ceiling.

      • unit: number = 1

        The unit to cut to.

      Returns number