General information
Category:
Coding, syntax & commands
Title:
Converting a number to only two decimal places
In my application I have Set Decimals to 3. But I do have some fields where I need to have only 2 decimal places. The datatype on the SQL server is defined as float. How can I tell VFP 5.0 to convert these numbers to only two decimal places, rounding when necessary?
When I tried using Input Mask = 999,999.99, the numbers display with only two decimal places, but they don't round properly.
Jeff
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