1.0.11 • Published 2 years ago

mathematic-js v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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
1.0.11

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago