Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Round() to get upper value ?
Message
De
19/03/2003 10:14:25
 
 
À
18/03/2003 16:27:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00767263
Message ID:
00767564
Vues:
10
I'm not sure if I have done things the long way here but how about...

(INT(n*100)+IIF(MOD(n*100,1)>0,1,0))/100

where n is your number. Above assumes 2 decimals.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform