@gks101/numtowords - v1.0.3
    Preparing search index...

    Function convert

    • Convert a number (integer, decimal, or string) to its word representation.

      Parameters

      Returns string

      convert(1000124)              // "One Million One Hundred Twenty Four"
      convert(1000124, { locale: "in" }) // "Ten Lakh One Hundred Twenty Four"
      convert(1000124, { locale: "hi" }) // "दस लाख एक सौ चौबीस"