From 7041ab0ad27df108000b7daec0f4620e1e0266ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=91=E9=94=8B?= Date: Sun, 22 Dec 2019 19:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- docs/divide.js.html | 2 +- docs/formatBankCard.js.html | 2 +- docs/formatMoney.js.html | 2 +- docs/index.html | 15 ++++++++++++++- docs/index.js.html | 2 +- docs/isBankCard.js.html | 2 +- docs/isChinese.js.html | 2 +- docs/isEmail.js.html | 2 +- docs/isIPv4.js.html | 2 +- docs/isIPv6.js.html | 2 +- docs/isIdCard.js.html | 2 +- docs/isMobile.js.html | 2 +- docs/isPassport.js.html | 2 +- docs/isPassword.js.html | 2 +- docs/isPostcode.js.html | 2 +- docs/isQQ.js.html | 2 +- docs/isSocialCreditCode.js.html | 2 +- docs/isTelephone.js.html | 2 +- docs/isVehicle.js.html | 2 +- docs/isWX.js.html | 2 +- docs/minus.js.html | 2 +- docs/module-Math.html | 2 +- docs/module-Processor.html | 2 +- docs/module-Validator.html | 2 +- docs/module-processor.html | 2 +- docs/module-validator.html | 2 +- docs/numberToChinese.js.html | 2 +- docs/plus.js.html | 2 +- docs/replaceChar.js.html | 2 +- docs/round.js.html | 2 +- docs/times.js.html | 2 +- package.json | 2 +- 33 files changed, 50 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 3efdf074..25183ceb 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ import formatMoney from 'util-helpers/lib/formatMoney' > 参考:[JS浮点数计算测试](https://2zbuy.csb.app/) - 数学计算 - - [plus](file:///Users/caijinfeng/Desktop/projects/util-helpers/docs/module-Math.html#.plus) - 加 - - [minus](file:///Users/caijinfeng/Desktop/projects/util-helpers/docs/module-Math.html#.minus) - 减 - - [times](file:///Users/caijinfeng/Desktop/projects/util-helpers/docs/module-Math.html#.times) - 乘 - - [divide](file:///Users/caijinfeng/Desktop/projects/util-helpers/docs/module-Math.html#.divide) - 除 - - [round](file:///Users/caijinfeng/Desktop/projects/util-helpers/docs/module-Math.html#.round) - 四舍五入 + - [plus](https://doly-dev.github.io/util-helpers/module-Math.html#.plus) - 加 + - [minus](https://doly-dev.github.io/util-helpers/module-Math.html#.minus) - 减 + - [times](https://doly-dev.github.io/util-helpers/module-Math.html#.times) - 乘 + - [divide](https://doly-dev.github.io/util-helpers/module-Math.html#.divide) - 除 + - [round](https://doly-dev.github.io/util-helpers/module-Math.html#.round) - 四舍五入 - 数据处理 - [formatMoney](https://doly-dev.github.io/util-helpers/module-Processor.html#.formatMoney) - 金额格式化 - [formatBankCard](https://doly-dev.github.io/util-helpers/module-Processor.html#.formatBankCard) - 银行卡格式化 diff --git a/docs/divide.js.html b/docs/divide.js.html index fb134acf..53fbf20b 100644 --- a/docs/divide.js.html +++ b/docs/divide.js.html @@ -106,7 +106,7 @@

divide.js


diff --git a/docs/formatBankCard.js.html b/docs/formatBankCard.js.html index 1822a8af..8f3730dd 100644 --- a/docs/formatBankCard.js.html +++ b/docs/formatBankCard.js.html @@ -109,7 +109,7 @@

formatBankCard.js


diff --git a/docs/formatMoney.js.html b/docs/formatMoney.js.html index d79b77bd..95ddd80d 100644 --- a/docs/formatMoney.js.html +++ b/docs/formatMoney.js.html @@ -165,7 +165,7 @@

formatMoney.js


diff --git a/docs/index.html b/docs/index.html index 5d43e673..4d6fbf1e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -108,7 +108,20 @@

示例

}, 'util-helpers']

文档

+
+

数学计算,修正了浮点数计算问题,适用于金额计算。 +参考:JS浮点数计算测试

+