【文件属性】:
文件名称:number2TextConverter:该组件接受一个数字并返回该数字的字符串表示形式
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-28 19:55:51
ColdFusion
#Number 2文字转换器
该组件接受一个数字,并返回该数字的字符串表示形式。 可以从1转换为999999999
## LICENSE MIT许可证(MIT)
##重要链接
来源
文献资料
##系统要求
Railo 4+
露西4.5+
ColdFusion 10+
指示
只需放入服务器中的可访问文件夹
如何使用
创建对象的实例
c = new number2TextConverter();
用您要转换的号码调用转换功能
result = c.convert( 1999 ); //mil novecientos noventa y nueve
result = c.convert( 1999.50, true ); //mil novecientos novena y nueve 50/100 MX
//Change the currency
c.setCurrency( 'p
【文件预览】:
number2TextConverter-master
----.project(261B)
----box.json(956B)
----tests()
--------number2TextConverterTest.cfc(2KB)
----.gitignore(22B)
----readme.md(1KB)
----number2TextConverter.cfc(22KB)