Just wondering if anyone has a better way to work out percentage values.
Currently I'm having to append text to the number then  use value
it works but seems kinda kludgy.
something like this:
PercentAddition=2
 eq=value(PercentAddition) 
 if value(PercentAddition)<100 then eq=value("0."& PercentAddition)
 if value(PercentAddition)<10 then eq=value("0.0"& PercentAddition)
 percentValue=totalcost * eq

I've tried 
set the floatprecision=2
eq=PercentAddition)/100

but it always returns 0.00 

Any thoughts ?

Brad

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to