Fixed number formatting

This commit is contained in:
Rashid Khan 2013-12-30 16:06:12 -07:00
parent 801fa66fad
commit d64f9b3310

View file

@ -15,7 +15,8 @@ define([
var y_format_metric_value = function (value, metric) {
// If this isn't a number, change nothing
if(!_.isNaN(value) || !_.isFinite(value)) {
if(_.isNaN(value) || !_.isFinite(value)) {
console.log(value);
return value;
}
if (metric.y_format === 'bytes') {