Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round a number
Message
From
10/01/1999 08:53:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Round a number
Miscellaneous
Thread ID:
00174482
Message ID:
00174482
Views:
63
How can I take a number like 1.345 and round it to a specific precision like .2?

1.3456 precision .2 = 1.4
1.6345 precision .5 = 1.5
1.3456 precision .005 = 1.345

I think that I need to figure out how many decmil places and ROUND() the number then somehow round to the precision


Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform