Sara has asked for the wisdom of the Perl Monks concerning the following question:
I get a value of somthing like 2.2324342432 I need to only get three digits somthing likemy $value = ($average)/($number);
thanks$value = 2.24
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: converting digits
by fuzzyping (Chaplain) on Jul 29, 2002 at 04:54 UTC | |
by BazB (Priest) on Jul 29, 2002 at 06:20 UTC | |
by fuzzyping (Chaplain) on Jul 29, 2002 at 13:36 UTC | |
|
Re: converting digits
by monachus (Sexton) on Jul 29, 2002 at 05:38 UTC | |
by fuzzyping (Chaplain) on Jul 29, 2002 at 17:01 UTC |