Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting difference of two currencies as percentage
Message
From
10/01/2002 18:46:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Getting difference of two currencies as percentage
Miscellaneous
Thread ID:
00603248
Message ID:
00603248
Views:
64
Hi folks,

Forgive me if this is a no brainer, but i'm quite new to VFP. Lets say you have two columns that are of type currency, and you'd like to know what the difference between the two is as a percentage. I.e. how much bigger/smaller is the second column? I'm thinking I might have to multiply everything by 100 and use INT(). (there doesn't seem to be a DOUBLE() or FLOAT() function?) I can figure it out with integer division, its just somewhat painful. Is there any shortcut I can use?

thanks,
noah
Next
Reply
Map
View

Click here to load this message in the networking platform