Skip to content

Commit 597bb01

Browse files
authored
Update migration.md
1 parent 85d917d commit 597bb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ function pluralizeKnife (count) {
10351035
'$' + price.toFixed(2)
10361036
```
10371037

1038-
大多数情况下,仍然会有奇怪的现象(比如 `0.035.toFixed(2)` 向上取舍得到 `0.4`,但是 `0.045` 向下取舍却也得到 `0.4`)。解决这些问题可以使用 [`accounting`](http://openexchangerates.github.io/accounting.js/) 库来实现更多可靠的货币格式化。
1038+
大多数情况下,仍然会有奇怪的现象(比如 `0.035.toFixed(2)` 向上取舍得到 `0.4`,但是 `0.045` 向下取舍却也得到 `0.04`)。解决这些问题可以使用 [`accounting`](http://openexchangerates.github.io/accounting.js/) 库来实现更多可靠的货币格式化。
10391039

10401040
{% raw %}
10411041
<div class="upgrade-path">

0 commit comments

Comments
 (0)