mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
33_readingsGroup.pm: ignore - in calc operations
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12088 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bac63b5907
commit
1c5545e898
@ -473,7 +473,7 @@ rgCalc($$$$)
|
|||||||
foreach my $col (eval "($cols)") {
|
foreach my $col (eval "($cols)") {
|
||||||
foreach my $row (eval "($rows)") {
|
foreach my $row (eval "($rows)") {
|
||||||
my $value = $hash->{helper}{values}{orig}[$col][$row];
|
my $value = $hash->{helper}{values}{orig}[$col][$row];
|
||||||
if( defined($value) ) {
|
if( defined($value) && $value ne '-' ) {
|
||||||
#$value =~ s/[^-\.\d]//g;
|
#$value =~ s/[^-\.\d]//g;
|
||||||
push @values, $value;
|
push @values, $value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user