Add percentage util
This commit is contained in:
@@ -560,3 +560,9 @@ function combine(a, b, c) {
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function getPercentage(num, per) {
|
||||
return (num/100)*per;
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user