Just remove the commas:
output:my @ary = ( "1,200.13", "1,105.02" ); tr{,}{}d for @ary; print "@ary\n";
1200.13 1105.02
In reply to Re: Regular Expression and digits problem(string, arithmetic)
by Util
in thread Regular Expression and digits problem(string, arithmetic)
by tanyeun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |