Function round

  • Round a number to specific precision.

    Parameters

    • x: number

      a number

    • pre: number = 1

      to precision [1]

    Returns number

Generated using TypeDoc