summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php
index 848d63be..1ecc3af4 100644
--- a/frontends/php/include/classes.inc.php
+++ b/frontends/php/include/classes.inc.php
@@ -419,7 +419,9 @@
$mant=0;
}
- if($mant<1.5)
+ $mant=(floor($mant*1.1*10/6)+1)*6/10;
+
+/* if($mant<1.5)
{
$mant=1.5;
}
@@ -443,6 +445,7 @@
{
$mant=10;
}
+*/
$maxY = $mant*pow(10,$exp);
return $maxY;