money.js:Sebastian Bergmann's Money 的 JavaScript 版本

时间:2021-05-31 11:48:11
【文件属性】:
文件名称:money.js:Sebastian Bergmann's Money 的 JavaScript 版本
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-31 11:48:11
JavaScript 钱.js Sebastian Bergmann's JavaScript 版本。 安装 通过凉亭 bower install money-js 用法 创建 Money 对象并访问其货币价值 // Create Money object that represents 1 EUR var m = new Money ( 100 , new Currency ( 'EUR' ) ) ; // Access the Money object's monetary value console . log ( m . getAmount ( ) ) ; // Access the Money object's monetary value converted to its base units console . log ( m . getConvertedAmount ( ) ) ; 上面
【文件预览】:
money.js-master
----bower.json(257B)
----src()
--------money.js(39KB)
----LICENSE(1KB)
----README.md(4KB)
----dist()
--------money.min.js(19KB)

网友评论