in reply to Re: Decimal Removal
in thread Decimal Removal

Also, unless you are going to use the stripped digits there is no reason to capture them with the  ()

--

flounder

Replies are listed 'Best First'.
Re: Re^2: Decimal Removal
by Sifmole (Chaplain) on Jun 19, 2002 at 15:12 UTC
    The poster implied they were because they were looking to do some rounding, as well they were capturing in the posted example. I was not trying to rewrite the posters code, just correct the things that were causing problems and improve where it didn't change the meaning.

    But yes you are right that if the poster does not intend to use the stripped digits then there is no reason to capture them with the parens.