Add percentage util

This commit is contained in:
Vortrex
2021-03-22 03:13:33 -05:00
parent 3f74b3cf00
commit e471cd7bc8

View File

@@ -560,3 +560,9 @@ function combine(a, b, c) {
} }
// =========================================================================== // ===========================================================================
function getPercentage(num, per) {
return (num/100)*per;
}
// ===========================================================================