added more precision to the values in 'gensens.pm'

This commit is contained in:
Jordi Sanfeliu 2017-06-29 09:08:58 +02:00
parent 5915c95172
commit 9e6de7def3
1 changed files with 3 additions and 3 deletions

View File

@ -450,9 +450,9 @@ sub gensens_cgi {
$str = $gensens->{map}->{$str} ? $gensens->{map}->{$str} : $str;
$str = sprintf("%-20s", substr($str, 0, 20));
push(@tmp, "LINE2:gsen" . $n . $LC[$n] . ":$str");
push(@tmp, "GPRINT:gsen" . $n . ":LAST: Cur\\:%3.0lf%shz");
push(@tmp, "GPRINT:gsen" . $n . ":MIN: Min\\:%3.0lf%shz");
push(@tmp, "GPRINT:gsen" . $n . ":MAX: Max\\:%3.0lf%shz\\n");
push(@tmp, "GPRINT:gsen" . $n . ":LAST: Cur\\:%4.1lf%shz");
push(@tmp, "GPRINT:gsen" . $n . ":MIN: Min\\:%4.1lf%shz");
push(@tmp, "GPRINT:gsen" . $n . ":MAX: Max\\:%4.1lf%shz\\n");
push(@tmpz, "LINE2:gsen" . $n . $LC[$n] . ":$str");
next;
}