1.0.6 • Published 6 years ago

node-math.js v1.0.6

Weekly downloads
5
License
Apache License 2....
Repository
github
Last release
6 years ago

node-math.js

Installation

$ npm install node-math.js

Dependencies

$ npm install

Examples

// Require
const math = require("node-math.js");

// functions
math.circleArea(4);
// Answer: 50.2857143
math.recArea(4, 2) // 4 is length and 2 is breadth.
// Answer: 8

// METHODS
math.circleArea(radius);
math.circlePer(radius);
math.recArea(length, breadth);
math.recPer(length, breadth);
math.ceil(number);
math.sqPer(side);
math.sqArea(side);
math.eval(string);
math.add(a, b);
math.sub(a, b);
math.prod(a, b);
math.div(a, b);
math.floor(number);
math.random();
math.round(n);

License

© Bhavya Dang, 2018 Released under the Apache License 2.0.

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago