in reply to Re: Re: Dividing and format
in thread Dividing and format
Normally, intermediate calculations are done without rounding, to gain maximum accuracy - you round at the end for display purposes. If for some reason you actually need to round the number for intermediate calculations, then you use sprintf.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Dividing and format
by hotshot (Prior) on Nov 27, 2003 at 14:45 UTC |
In Section
Seekers of Perl Wisdom