1.0.2 • Published 1 year ago

luowl-calc v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

此JS文件用于JS小数计算

  1. compute 用于两个小数进行计算 compute = (num1: number, num2: number, symbol: Symbol)
  2. calculate 多个数进行计算 使用方法(calculate${num1} + ${num2} - ${num3}calculate = function (arg0: any, ...args: any)
  3. toFixed 保留小数位,不进行四舍五入操作 toFixed = (num: number, len: number)
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago