in reply to Re^3: Change decimal point temporarily
in thread Change decimal point temporarily
He's PARSING a csv (or more probably a tab or semicolon separated file) so he needs to go exactly the other way around. Accept 12,48 and treat it as a number.use Scalar::Util qw( looks_like_number ); print looks_like_number('12,48'); # --> 0
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Change decimal point temporarily
by ikegami (Patriarch) on Aug 02, 2010 at 23:35 UTC | |
by lima1 (Curate) on Aug 03, 2010 at 00:32 UTC | |
by ikegami (Patriarch) on Aug 03, 2010 at 02:40 UTC |
In Section
Seekers of Perl Wisdom