11.calculator

    1.0.1 • Public • Published

    简介

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

    如何使用

    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)}')

    Install

    npm i 11.calculator

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.19 kB

    Total Files

    3

    Last publish

    Collaborators

    • sunny1218