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:
parent
8c09cc06d5
commit
e0550f2252
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue