The round helper is used to round numbers to a given scale.

Hierarchy

  • RoundHelper

Methods

Methods

  • Rounds a number to a given scale.

    Parameters

    • num: number

      The number to round.

    • scale: number

      The scale to which to round.

    Returns number

Generated using TypeDoc