mathematic-js
v1.0.11
Published
this is a simple math package! ```js const { add, substract, multiply, divide, toDegrees, toRadians, round, mod } = require("mathematic-js")
Downloads
2
Readme
this is a simple math package!
const { add, substract, multiply, divide, toDegrees, toRadians, round, mod } = require("mathematic-js")
add(4, 2) // 6
substract(5, 2) //3
multiply(20, 10) //200
divide(20, 10) //2
toDegrees(35) //2005.35
toRadians(120) //2.09
round(19.5) //20
mod(10 / 24, 1) //0.41
gcd(123, 321) // 3
lcm(984, 482) // 237144