replaces coma "," in values

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12921 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Sylvestre Ho 2012-02-23 16:59:30 +00:00
parent 8c09cc06d5
commit e0550f2252
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}