parse values in float arrays as floats not strings

javascript numbers are 64-bit floating numbers
This commit is contained in:
Lalit Kapoor 2014-01-08 00:09:34 -06:00
parent 3cb35e0f46
commit 8f4644dc3d

View File

@ -104,6 +104,9 @@ var parseBigIntegerArray = function(val) {
var parseFloatArray = function(val) {
if(!val) { return null; }
var p = arrayParser.create(val, function(entry) {
if(entry !== null) {
entry = parseFloat(entry);
}
return entry;
});