Function countDecimals

  • Returns the number of decimal places in a given number.

    Parameters

    • num: number

      The number to count the decimal places of.

    Returns number

    The number of decimal places in the given number.

Generated using TypeDoc