@ironarachne/words
    Preparing search index...

    Function numberToWords

    • This function converts an integer to its English word equivalent. Supports all safe integers (up to 9,007,199,254,740,991). Numbers beyond that range are returned as their string representation.

      Parameters

      • number: number

        The number to convert to words.

      Returns string

      The text equivalent of the number.