Function formatPermill

  • Name

    formatPermill

    Summary

    Checks that percent is in range 0 to 100 and format to permill.

    Parameters

    • percent: number

      Number in range from 0 to 100 with max 4 decimals.

    Returns number

    The formated percent in permill format.

Generated using TypeDoc