Skip to content

gorangorun/number-to-words-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-to-words-converter - Fast and lightweight number to words convertor


Installation

# npm ..
$ npm install number-to-words-converter 
# yarn ..
$ yarn add number-to-words-converter

Usage

This is a practical example of how to use.

import { NumberToWords } from 'number-to-words-converter'

const result = new NumberToWords(9_007_199_254_740_991).convert()

console.log(result)
// nine quadrillion, seven trillion, one hundred ninety-nine billion, two hundred fifty-four million, seven hundred forty thousand, nine hundred ninety-one

Online converter

Releases

No releases published

Packages

No packages published