[*] Core : added automatic conversion of ',' into '.' for floating values
This commit is contained in:
1 parent
df860f1f47
commit
49d310fe49
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