Function trunc

  • Truncates the given number, correctly handling negative numbers.

    Parameters

    • number: number

      The number to truncate

    Returns number

    The truncated number

Generated using TypeDoc