diff --git a/datalets/base-ajax-json-alasql-datalet/static/js/AjaxJsonAlasqlBehavior.js b/datalets/base-ajax-json-alasql-datalet/static/js/AjaxJsonAlasqlBehavior.js index b68fa51..a291483 100755 --- a/datalets/base-ajax-json-alasql-datalet/static/js/AjaxJsonAlasqlBehavior.js +++ b/datalets/base-ajax-json-alasql-datalet/static/js/AjaxJsonAlasqlBehavior.js @@ -210,7 +210,12 @@ var AjaxJsonAlasqlBehavior = { var data = []; for (var i in obj) { - data.push(obj[i][name]); + var v = obj[i][name]; + if(!isNaN(v) && v % 1 != 0) + v = Math.floor(v * 100) / 100; + data.push(v); + + //data.push(obj[i][name]); } this.data.push({