Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
cheers!my $percent = int (($amount / $length) * 100);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: decimal places
by rasta (Hermit) on Jan 17, 2003 at 10:18 UTC | |
by osama (Scribe) on Jan 17, 2003 at 14:09 UTC | |
|
Re: Decimal Places
by tadman (Prior) on Jan 17, 2003 at 10:42 UTC | |
|
Re: decimal places
by Arien (Pilgrim) on Jan 17, 2003 at 10:23 UTC |