UNPKG

arrow-utils

Version:

arrow-utils library binds array and object methods.Complex Array and Object operations are made simple

1 lines 151 B
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};