[AccessD] A2K: Currency as a percentage

Gustav Brock gustav at cactus.dk
Tue Nov 2 05:30:17 CST 2004


Hi Darren

You divide 5 by 100 (=0.05 as "per cent" = "per hundred")
and multiply that with the amount:

  100 x 0.05 = 5.00

/gustav


> Hello all

> Can never remember how to do percentages off the top of my head <sigh>

> I have a a form that allows users to put in any Dollar amount for a discount
> I also want to put in another txtBox and allow users to type in say...5 and
> have the machine calculate discounts in Dollars from the "5" value

> Thus have access caculate (in this case) 5 percent of the whole and then put
> that currency amount (EG 5% of $100.00 = $5.00) of $5.00 in the discount
> field

> Make sense?

> many thanks in advance

> Darren




More information about the AccessD mailing list