zyzcalc

0.0.1 • Public • Published

zyz-calc v0.1

Simple calculation wrapper

Getting Started

This plugin provides a wrapper for using simple mathematics.

To install the package in your project:

npm install zyz-calc --save-dev

Usage

For adding two numbers

let i = zyzcalc.add(1,2);

For subtracting two numbers

let i = zyzcalc.sub(1,2);

For dividing two numbers

let i = zyzcalc.div(1,2);

For multiplying two numbers

let i = zyzcalc.mul(1,2);

Package Sidebar

Install

npm i zyzcalc

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

2.19 kB

Total Files

6

Last publish

Collaborators

  • zyz83