Function formatPermill

  • Name

    formatPermill

    Summary

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

    Returns

    The formated percent in permill format.

    Parameters

    • percent: number

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

    Returns number

Generated using TypeDoc