Oops, good catch. That was my mistake. The display was filtering out results with only one digit.
changing the filter fixes that.
$result =~ /^-?\d+\.?\d+$/ to $result =~ /^-?\d+\.?\d*?$/
In reply to Re^2: A PerlQt Calculator
by thunders
in thread A PerlQt Calculator
by thunders
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |