From 06c7c4bd3e8a7583236291e71cb600a6088cc788 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 3 Sep 2014 10:09:43 +0200 Subject: [PATCH] Fix that the MonitoringProperties view helper returns locale aware floats refs #7063 --- .../application/views/helpers/MonitoringProperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/helpers/MonitoringProperties.php b/modules/monitoring/application/views/helpers/MonitoringProperties.php index 568f63f57..efbc80749 100644 --- a/modules/monitoring/application/views/helpers/MonitoringProperties.php +++ b/modules/monitoring/application/views/helpers/MonitoringProperties.php @@ -222,7 +222,7 @@ class Zend_View_Helper_MonitoringProperties extends Zend_View_Helper_Abstract $val .= self::VALUE_YES; } - $val .= sprintf(' (%.2f%% state change)', $object->percent_state_change); + $val .= sprintf(' (%.2F%% state change)', $object->percent_state_change); return $val; }