Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to determine if something is numeric?

by exussum0 (Vicar)
on Jan 30, 2004 at 19:29 UTC ( #325349=note: print w/replies, xml ) Need Help??


in reply to How to determine if something is numeric?

All you have done is forced perl to do it's best to turn a string into a number. Try assigning var to 23g, 23 g 23.0g, and you'll see it just gets converted. The better question is, why don't you want the implicit conversion?

Play that funky music white boy..
  • Comment on Re: How to determine if something is numeric?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-04-13 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?