1.0.1 • Published 3 years ago

11.calculator v1.0.1

Weekly downloads
48
License
ISC
Repository
github
Last release
3 years ago

简介

这是一个简单的计算器,能计算加减乘除

如何使用

const calc=require('calc')

console.log('加法的结果是 ${calc.add(数字1,数字2)}')

console.log('减法的结果是 ${calc.sub(数字1,数字2)}')

console.log('乘法的结果是 ${calc.cheng(数字1,数字2)}')

console.log('除法的结果是 ${calc.chu(数字1,数字2)}')
1.0.1

3 years ago