in reply to Regular Expression and digits problem(string, arithmetic)
Just remove the commas:
output:my @ary = ( "1,200.13", "1,105.02" ); tr{,}{}d for @ary; print "@ary\n";
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 |