summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 08:20:43 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 08:20:43 +0000
commitaf4475413f8d656e7b9a1f47aef24a9961daae4d (patch)
tree83ea6153ac4646469bcfa9d60933de9668cecad2 /frontends/php/include/config.inc.php
parent918f76d2a42af917be3783a351ce603469cc9520 (diff)
- fixed Y asix value displaying for graphs (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3480 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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);
}