in reply to calc percentage
5% is shorthand for 0.05. Therefore, 5% of 50000 is 0.05 * 50000 = 2500.
More generally: x% is shorthand for x/100. Therefore, x% of y is x / 100 * y.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: calc percentage
by bigup401 (Pilgrim) on Mar 13, 2019 at 09:46 UTC |
In Section
Seekers of Perl Wisdom