Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Round() problem
Message
De
27/09/2002 17:10:13
 
 
À
26/09/2002 14:52:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00704895
Message ID:
00705446
Vues:
9
A simple solution:

ROUND(lnValue + .005, 2)
ROUND(29.0047 + .005, 2) = 29.01
ROUND(29.0051 + .005, 2) = 29.01

In this case it will always round up
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform