Function progressCalculator

  • Calculate a progress between a whole number and an achieved part of it

    Parameters

    • achieved: number

      The achieved part of the whole

    • whole: number

      The whole

    • decimalPlaces: number = 0

      To how many decimal places (digits after the comma) should the result ber rounded

    Returns ProgressCalculator

Generated using TypeDoc