P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
if i am handling non-floating-point values, it's a bit more elegant ... to use int()
.. if it's worth the typed characters at all ;-) As you said before, Perl will convert the string into a number internally if the string isn't already converted (IV-Flag not set) and if the string is used in a numerical context. Of course, when using Perl-Guts (XS), you have to worry. regards mwa In reply to Re^3: Converting a string to a real numeric value - what's faster?
by mwah
|
|