From e0550f2252d7aca94afae5141c7743ef8b8d6170 Mon Sep 17 00:00:00 2001 From: Sylvestre Ho Date: Thu, 23 Feb 2012 16:59:30 +0000 Subject: [PATCH] replaces coma "," in values git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12921 6bcd3966-0018-0410-8128-fd23d134de7e --- src/check_meta_service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/check_meta_service b/src/check_meta_service index 348010ddf..97c71c170 100644 --- a/src/check_meta_service +++ b/src/check_meta_service @@ -143,6 +143,7 @@ sub calculate_meta() { $result = 0; foreach $val (@metric_value_tab) { if ($val) { + $val =~ s/,/./; $result += $val; } } @@ -150,6 +151,7 @@ sub calculate_meta() { $result = 0; foreach $val (@metric_value_tab) { if ($val) { + $val =~ s/,/./; $result = $result + $val; } }