in reply to Re: Eliminating Trailing Zeros
in thread Eliminating Trailing Zeros
$n=~s/\.|\.0+$//
s/\.?0*$//;
Gary Blackburn
Trained Killer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |