Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@shahoob shahoob released this 02 May 20:42
· 53 commits to master since this release
6308702

functionKit | What's new?

2.0.0:

Some changes were backwards-broken.

Breaking Changes

  1. 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

  1. 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%'