[*] Core : added automatic conversion of ',' into '.' for floating values
This commit is contained in:
1 parent
5330f4da40
commit
0052a9a94a
1 file changed
+1
-1
@@ -389,7 +389,7 @@ abstract class ObjectModelCore
|
||||
return (int)$value;
|
||||
|
||||
case self::TYPE_FLOAT :
|
||||
return (float)$value;
|
||||
return (float)str_replace(',', '.', $value);
|
||||
|
||||
case self::TYPE_DATE :
|
||||
if (!$value)
|
||||
|
||||
Reference in new issue
Block a user