Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimals
Message
From
28/08/2001 10:02:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00549788
Message ID:
00549791
Views:
15
>Hi,
>
>I am working on a procedure which is part of a rather large and complex program. In this procedure I want to use SET DECIMALS TO change the number of decimals returned from a calculation. Before I exit the procedure I would like to SET DECIMALS TO .
>My question is: How can I or can I capture the decimal setting?
>
>Thanks,
>Einar
local lnDecimals
lnDecimals = set("decimals")
set decimals to 10
Do_Some_Calculations()
set decimals to lnDecimals
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform