stringzy
Version:
A versatile string manipulation library providing a range of text utilities for JavaScript and Node.js applications.
11 lines (10 loc) • 362 B
TypeScript
/**
* Converts a number to its English textual representation.
*
* Handles negative numbers, numbers from 0 to 20, tens, hundreds, thousands, and larger magnitudes.
*
* @param num The number to convert.
* @returns The textual representation of the number in English.
*/
declare function numberToTextEn(num: number): string;
export default numberToTextEn;