Function round

  • Round x to the number of digits after the decimal point. If digits is omitted, it returns the nearest integer to x.

    See

    Math.round()

    Parameters

    • x: number
    • Optional digits: number = 0

    Returns number

Generated using TypeDoc