textconvert
Version:
Public library to convert text into many conventions and formats.
9 lines (8 loc) • 318 B
TypeScript
/**
* Get any number below 100 million converted to words.
* @param number Integer input to turn into text.
* @returns A string of numbers converted to words.
* @example
* numbersToWords(12345); // 'twelve thousand three hundred and forty-five'
*/
export declare function numbersToWords(number: number): string;