Function percentToQuality

  • Converts a string percent to the "billionths" format for use with QualityIn/ QualityOut

    Parameters

    • percent: string

      A string percent (i.e. ".034%").

    Returns number

    A number in the "billionths" format.

    Throws

    ValidationError when the percent parameter is not convertible to "billionths" format.

Generated using TypeDoc