in reply to Regular Expression and digits problem(string, arithmetic)

Just remove the commas:

my @ary = ( "1,200.13", "1,105.02" ); tr{,}{}d for @ary; print "@ary\n";
output:
1200.13 1105.02

Replies are listed 'Best First'.
Re^2: Regular Expression and digits problem(string, arithmetic)
by GrandFather (Saint) on Apr 17, 2011 at 00:15 UTC

    That was my first thought too, but the OP muttered something about CSV so there may be more to the story than just that. Pretty hard to tell without the OP's code though! And if the OP hasn't got that much right then there are bound to be other areas where a little help may be required.

    True laziness is hard work