Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 taking refuge in the Monastery: (8)
As of 2014-10-26 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls