[Tutor] Percentage

Frank Moore francis.moore at rawflow.com
Mon Nov 7 14:58:14 CET 2005


Johan Geldenhuys wrote:

>Hi all,
>
>What is the syntax if I want to work out what percentage 42 is out of 250?
>  
>
Johan,

You could try:

percentage = (42 * 250)/100

This gives the answer 105.

Cheers,
F.


More information about the Tutor mailing list