cool_tools

1.0.2 • Public • Published

插件说明(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); //进行减法运算
// ......

Package Sidebar

Install

npm i cool_tools

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.39 kB

Total Files

4

Last publish

Collaborators

  • jimson