amountutil 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ npm install amountutil
14
14
  const AmountUtil = require('amountutil');
15
15
 
16
16
  // 转换为中文金额
17
- let amount = new AmountUtil(123456.78);
17
+ let amount = new AmountUtil('123456.78');
18
18
  const chineseAmount = amount.translateAmount();
19
19
  console.log(chineseAmount); // 输出:"壹拾贰万叁仟肆佰伍拾陆元柒角捌分"
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amountutil",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The util that can help you to manage about amount,we have introduced a very powerful Chinese amount translation feature.",
5
5
  "main": "AmountUtil.js",
6
6
  "scripts": {