Index: trunk/core/kernel/db/dbitem.php =================================================================== diff -u -N -r6835 -r7635 --- trunk/core/kernel/db/dbitem.php (.../dbitem.php) (revision 6835) +++ trunk/core/kernel/db/dbitem.php (.../dbitem.php) (revision 7635) @@ -108,6 +108,12 @@ // $parsed = $formatter->Parse($value, $options, $err); $parsed = $formatter->Parse($value, $name, $this); } + // this will make sure numeric value is converted to normal representation + // according to regional format, even when formatter is not set (try seting format to 1.234,56 to understand why) + elseif (preg_match('#int|integer|double|float|real|numeric#', $options['type'])) { + $formatter =& $this->Application->recallObject('kFormatter'); + $parsed = $formatter->TypeCast($value, $options); + } $this->SetDBField($name,$parsed); }