Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: A PerlQt Calculator

by thunders (Priest)
on Jun 23, 2004 at 14:34 UTC ( #369045=note: print w/ replies, xml ) Need Help??


in reply to Re: A PerlQt Calculator
in thread A PerlQt Calculator

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*?$/


Comment on Re^2: A PerlQt Calculator
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369045]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-07-31 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls