General information
Category:
Coding, syntax & commands
Title:
Getting difference of two currencies as percentage
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only