1.0.1 • Published 9 years ago
uint-to-words v1.0.1
uint-to-words
Converts unsigned integers into english words
Install
npm i uint-to-words --saveUsage
with Typescript
import { uintToWords } from 'uint-to-words';
console.log(uintToWords(101));
// "one hundred and one"with Javascript
const { uintToWords } = require('uint-to-words');
console.log(uintToWords(101));
// "one hundred and one"Limitations
Currently supports integers 0 - 999,999,999. Will throw RangeError if out of range, or TypeError if input is not an int.