Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimals
Message
De
28/08/2001 10:02:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00549788
Message ID:
00549791
Vues:
21
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform