xrpl
    Preparing search index...

    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.

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