【文件属性】:
文件名称:num-words:将数字转换为单词
文件大小:48KB
文件格式:ZIP
更新时间:2021-05-13 14:33:57
convert number words amount lakh
数词
一个简单的模块,用于将数字转换为单词,以用于南亚编号系统。 例如,两千万美元。
安装
npm i num - words
例子
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
用法
const numWords = require ( 'num-words' )
const amo
【文件预览】:
num-words-master
----.github()
--------dependabot.yml(135B)
--------workflows()
----test.js(6KB)
----LICENSE(1KB)
----README.md(929B)
----.gitignore(999B)
----index.js(1KB)
----package-lock.json(176KB)
----package.json(496B)