betterothermath
v1.0.0
Published
A simple JS library that has more Math operations.
Readme
BetterOtherMath
A simple JS library that has more Math operations.
Added Operations
Factorial
betterothermath.factorial(n);
IsEven
if (betterothermath.isEven(n)) { your code here }
IsOdd
if (betterothermath.isOdd(n)) { your code here }
Mean
betterothermath.mean(dataset);
Median
betterothermath.median(dataset);
Mode
betterothermath.mode(dataset);
Range
betterothermath.range(dataset);
Interquartile Range
betterothermath.iqrange(dataset);
Installation
Include the library in your HTML file:
<script src="node_modules/betterothermath/dist/betterothermath.min.js"></script>