n2d
Version:
A script to transform an integer of the order int > 0 && int <= 10^15, into its descriptive text form.
17 lines (11 loc) • 371 B
Markdown
# n2d
A script to transform an integer of the order int > 0 && int <= 10^15, into its descriptive text form.
# Dependencies
- No dependencies.
# Examples
```
const package = require('n2d');
const str = package.n2d.convert("23213212321");
console.log(str);
-> twenty three billion two hundred thirteen million two hundred twelve thousand three hundred twenty one
```