zyz-calc

This plugin provides a wrapper for using simple mathematics.

Usage no npm install needed!

<script type="module">
  import zyzCalc from 'https://cdn.skypack.dev/zyz-calc';
</script>

README

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);