Index: trunk/ippMonitor/raw/ipp.php
===================================================================
--- trunk/ippMonitor/raw/ipp.php	(revision 24758)
+++ trunk/ippMonitor/raw/ipp.php	(revision 24759)
@@ -412,5 +412,5 @@
 }
 
-function check_restrict ($key, $where, $mode) {
+function check_restrict ($key, $where, $mode, $scale) {
   $htmlkey = preg_replace ('|\.|', '_', $key);
   if ($mode == 'min') {
@@ -431,4 +431,10 @@
   } else {
     $where = "WHERE";
+  }
+
+  if ($scale != 1.0) {
+    $fvalue = $value * $scale;
+  } else {
+    $fvalue = $value;
   }
 
@@ -439,9 +445,9 @@
   if ($mode == 'min') {
     // can we pass the '%' through the html?
-    $where = $where . " $key >= '$value'";
+    $where = $where . " $key >= '$fvalue'";
   } 
   if ($mode == 'max') {
     // can we pass the '%' through the html?
-    $where = $where . " $key <= '$value'";
+    $where = $where . " $key <= '$fvalue'";
   } 
 
@@ -613,4 +619,7 @@
   if ($format == '%T') {
     $format = '%s';
+  }
+  if ($format == '%C') {
+    $format = '%10.6f';
   }
   if ($format == '%t') {
