=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/core.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/core.js 2014-09-23 08:06:18 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/core.js 2014-09-23 14:00:35 +0000 @@ -2096,15 +2096,19 @@ return ''; } - if (config.htmlValue || Ext.isBoolean(config.htmlValue)) { + if (Ext.isBoolean(config.htmlValue)) { return config.htmlValue; } - if (config.value) { - return value; - } - - return ''; + if (config.htmlValue && isValue) { + return Ext.isNumber(parseFloat(config.htmlValue)) ? parseFloat(config.htmlValue).toString() : config.htmlValue; + } + + if (config.value && isValue) { + return Ext.isNumber(parseFloat(config.value)) ? parseFloat(config.value).toString() : config.value; + } + + return config.htmlValue || ''; }; if (!Ext.isObject(config)) {