Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding when .6 or higher?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709236
Message ID:
00709261
Views:
18
You could put it in a more generic function for reuse:
FUNCTION MyRound
LPARAMETERS ValueToRound, DecPlaces

RETURN Round(ValueToRound - 1 / (10 ^ (DecPlaces + 1)), DecPlaces)
HTH

>I think that will work! Thanks...seems easy now that you put it that way.
Previous
Reply
Map
View

Click here to load this message in the networking platform