1.0.2 • Published 3 years ago

cool_tools v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

插件说明(Introduction)

目前,本插件用于有精度要求的四则运算,会根据你输入的数值的精度做相应运算。 At present, this plug-in is used for the four arithmetic operations with precision requirements, and will do the corresponding operations according to the accuracy of the values ​​you input.

安装(Install)

npm install cool_tools

使用(Use)

const make_a_name = require('cool_tools')

或者 or

import make_a_name from "cool_tools"

然后引用插件内部的方法(for example):

const coolTools = require('coolTools');

coolTools.add(12.34,34.55); //进行加法运算 结果:46.89
coolTools.reduce(12.34,34.56); //进行减法运算
// ......