General information
Title:
When to choose currency data type?
Hi,
I can find very little discussion about using Currency data type field when designing table structure in all my VFP books.
VFP9 help's tip says: "For precise financial calculations, use the Currency data type instead of Numeric. "
But I know currency data is always calculated with 4 decimal places... and that can cause calculation like $1000 * (1/3) to end up inaccurately...
So, what are the pros and cons of using currency data type? What should I consider when choosing between numeric and currency data type?
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