1.0.6 ⢠Published 4 years ago
simple.math.functions v1.0.6
This is a math package with simple math functions
Install
npm install simple.math.functions
Usage
WARNING: Only 1 math function can be in your code at 1 time
Add:
export function add(a:number, b:number) {
return a +b;
}
Minus:
export function minus(a:number, b:number) {
return a -b;
}
Multiply:
export function multiply(a:number, b:number) {
return a *b;
}
Divide:
export function divide(a:number, b:number) {
return a /b;
}
Author
š¤ Aidan The Sister