var MathUtil = {
divide: function (v1, v2, max) {
var out = ((v1 / v2) * 100).toFixed(2);
if (out > max) {
out = max;
}
return out;
};