Module: check_mk
Branch: master
Commit: 6cd41ec3e4c5bf85dd27520e447c326766a6ddc5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6cd41ec3e4c5bf…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Jan 31 14:13:06 2016 +0100
Precision of unit type float increased from 1 to 2 digits
---
web/plugins/metrics/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 6c1eaf5..813ec4c 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -49,7 +49,7 @@ unit_info[""] = {
"title" : "",
"description" : _("Floating point number"),
"symbol" : "",
- "render" : lambda v: "%.1f" % v,
+ "render" : lambda v: "%.2f" % v,
}
unit_info["count"] = {