Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 9810)
+++ temp/trunk/data/lib/slib.php	(revision 9811)
@@ -1131,4 +1131,5 @@
 	if(sfIsInt($digit) and $digit != 0) $value = $value * 10 * $digit;
 	$ret = floor($value);
+	$ret = floor($ret/$adjust);
 	return $ret;
 }
@@ -1142,4 +1143,5 @@
 	if(sfIsInt($digit) and $digit != 0) $value = $value * 10 * $digit;
 	$ret = ceil($value);
+	$ret = floor($ret/$adjust);
 	return $ret / 10 * $digit;
 }
