arrow-utils
Version:
arrow-utils library binds array and object methods.Complex Array and Object operations are made simple
1 lines • 151 B
JavaScript
exports.getPercentage=function(n,e){if(n&&null!=n&&e&&null!=e)return n/e*100},exports.getValue=function(n,e){if(n&&null!=n&&e&&null!=e)return n*e/100};