Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding
Message
From
07/04/2003 13:53:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00774783
Message ID:
00774804
Views:
11
didnt work:
>nVal = 0.00014
>? ROUND( nVal * 2, 4 ) / 2

this returns 0.0002

I need it to return 0.00015 if nVal=0.00014
if nval then return
0.00011 \ 0.00010
0.00012 \ 0.00010
0.00013 \ 0.00015
0.00014 \ 0.00015
0.00015 \ 0.00015
0.00016 \ 0.00015
0.00017 \ 0.00015
0.00018 \ 0.00020
0.00019 \ 0.00020
0.00020 \ 0.00020
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform