General information
Category:
Coding, syntax & commands
Title:
Convert numeric to integer
Has anyone run across how to or know how to take a numeric variable and insert it into an integer data field?
I am calculating some values and only need the integer portion of the result. I can use the INT() or ROUND() functions to leave just the integer portion of the result, but VFP won't let be replace the Interger field with the ROUNDed result.
The LOCALS window of DEBUG shows that the result is still a Numeric. Is there a way to convert it to an Integer value?
TIA,
Dave
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