mathematic-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i mathematic-js

Weekly Downloads

0

Version

1.0.11

License

ISC

Unpacked Size

13.6 kB

Total Files

30

Last publish

Collaborators

  • catgirlssimp