Skip to main content
Module

x/numwizard/mod.ts>InWords

A bunch of functions to convert numbers into strings of required format.
Latest
function InWords
import { InWords } from "https://deno.land/x/numwizard@v1.2.1/mod.ts";

Parse a number into an english word string.

Parameters

n: number
  • The number to parse.
optional
indian = [UNSUPPORTED]
  • Whether to use Indian system.

Returns

string

The number in words.