Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I thought that this would remove everything to the right of the decimal point.$quantity=~s/.(\d+)//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Decimal Removal
by gumby (Scribe) on Jun 19, 2002 at 13:37 UTC | |
|
Re: Decimal Removal
by Sifmole (Chaplain) on Jun 19, 2002 at 13:36 UTC | |
by flounder99 (Friar) on Jun 19, 2002 at 15:10 UTC | |
by Sifmole (Chaplain) on Jun 19, 2002 at 15:12 UTC | |
|
(jeffa) Re: Decimal Removal
by jeffa (Bishop) on Jun 19, 2002 at 13:37 UTC | |
|
Re: Decimal Removal
by jmcnamara (Monsignor) on Jun 19, 2002 at 13:40 UTC | |
by DamnDirtyApe (Curate) on Jun 19, 2002 at 13:50 UTC | |
|
Re: Decimal Removal
by Abigail-II (Bishop) on Jun 19, 2002 at 15:43 UTC |