good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks for the warning - all numerical values will be base10, sometimes in scientific format, so the looks_like_number call should work in this case.
So, looks_like_number only works for base10 (and below) numbers i.e. hexadecimal values with or without a trailing 0x will return false? Although, of course not knowing the number base for numerical values will cause all kinds of other problems! ;) In reply to Re^2: Equality checking for strings AND numbers
by Anonymous Monk
|
|