summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index c56d1622..e7890b66 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -334,7 +334,7 @@ function VDP($var, $msg=null) { echo "DEBUG DUMP: "; if(isset($msg)) echo '"'.$m
$value=$value/(1000*1000*1000);
}
- if(round($value)==$value)
+ if(round($value) == round($value,2))
{
$s=sprintf("%.0f",$value);
}
@@ -349,7 +349,7 @@ function VDP($var, $msg=null) { echo "DEBUG DUMP: "; if(isset($msg)) echo '"'.$m
if($units=="")
{
- if(round($value)==$value)
+ if(round($value) == round($value,2))
{
return sprintf("%.0f",$value);
}
@@ -386,7 +386,7 @@ function VDP($var, $msg=null) { echo "DEBUG DUMP: "; if(isset($msg)) echo '"'.$m
$value=$value/(1024*1024*1024*1024);
}
- if(round($value)==$value)
+ if(round($value) == round($value,2))
{
$s=sprintf("%.0f",$value);
}