This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
2.0.0
functionKit | What's new?
2.0.0
:
Some changes were backwards-broken.
Breaking Changes
sum()
A. Inputs/Params
The only change here is that you input an number array (number[]
).
At least 2 numbers in the array.
But this also lets the user to sum more numbers!
New features
- Calculation Functions
A.multiply()
B.calcPercent()
Now you can get a percent from 2 numbers!
Examples:
calcPercent(0.5, 1)
// Returns: 50
calcPercent(0.5, 1, true)
// Returns '50%'