in reply to Thousands separator - this is getting annoying
You don't show where your numbers are coming from, but you can avoid this problem by removing the commas from your 'numbers' before you use them as numbers: $num =~ tr/,//d; Of course, it would be simpler to not put the commas there in the first place.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Thousands separator - this is getting annoying
by Anonymous Monk on Jan 16, 2001 at 23:07 UTC | |
by AgentM (Curate) on Jan 16, 2001 at 23:11 UTC | |
by boo_radley (Parson) on Jan 16, 2001 at 23:50 UTC | |
by chipmunk (Parson) on Jan 17, 2001 at 00:20 UTC |