Function decimalToQuality

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

    Parameters

    • decimal: string

      A string decimal (i.e. ".00034").

    Returns number

    A number in the "billionths" format.

    Throws

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

Generated using TypeDoc