KO
|
EN
gitlite — search
Search
#typescript
#javascript
#rust
#python
#css
#html
#react
#android
#csharp
#nextjs
#graphql
#ios
num-words
★ 28
Open GitHub ↗
Converts digits/numbers to words
Download README (.md)
Explore Similar Repositories
monogame-hotload
:
A template/demo solution showing how to do hotswappable game logic and shaders with monogame and/or C#
resturant-UI
:
Resturant App UI -React Native
Linux_for_Everyone
:
<모두를 위한 리눅스 프로그래밍> 리포지토리
life
:
A Nix configuration for macOS and Linux
multiDS
:
a componet for data route to database
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
num-words
?
Download (.md)
# num-words An simple module to convert numbers to words for South Asian numbering system. e.g. Two crore four lakh. # Install ```js npm i num-words ``` # Example ```js 1 -> one 12 -> twelve 123 -> one hundred and twenty three 1234 -> one thousand two hundred and thirty four 12345 -> twelve thousand three hundred and forty five 123456 -> one lakh twenty three thousand four hundred and fifty six ``` # Usage ```js const numWords = require('num-words') const amountInWords = numWords(12345) // twelve thousand three hundred and forty five ``` _Note: This module only supports 9 digits input. A typical usecase for such convertion is in tax invoices or charts etc. For that more than 9 digits input is not very common (and also not very readable)._ # Contributing In case you notice a bug, please open an issue mentioning the input that has caused an incorrect conversion.