Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Round() problem
Message
De
30/09/2002 09:56:54
 
 
À
27/09/2002 17:10:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00704895
Message ID:
00705887
Vues:
10
A simple solution (Minor Correction: .0050 would round up for .0000):

ROUND(lnValue + .0049, 2)
ROUND(29.0047 + .0049, 2) = 29.01
ROUND(29.0051 + .0049, 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
Répondre
Fil
Voir

Click here to load this message in the networking platform