Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimals
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00621256
Message ID:
00621261
Views:
16
Have a look at Floor() - this will give you an integer rounded down. If you want 2 decimals, try Floor(nValue*100)/100 - one decimal = Floor(nValue*10)/10.

>Whether there is a function like truncate(Oracle) in VFP to restrict decimals
>without rounding off
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform