diff --git a/quickbase.php b/quickbase.php index b0079b2..0a4116b 100644 --- a/quickbase.php +++ b/quickbase.php @@ -496,7 +496,7 @@ final public static function cleanXml2Arr(&$arr){ self::cleanXml2Arr($arr[$key]); } - if(is_numeric($arr[$key])){ + if(is_numeric($arr[$key]) && substr($arr[$key], 0, 1) === '0'){ $arr[$key] = (double) $arr[$key]; }else if(is_string($arr[$key])){