Trails Packages
    Preparing search index...

    Class NumberParser

    This class allows to parse numbers from strings according to the given locale. Currently, in JavaScript there is no built-in way to parse numbers according to the current locale. Only arabic numerals are supported.

    Index
    • Parses a number from a string considering the locale.

      Parameters

      • numberString: string

      Returns number