Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Round() to get upper value ?
Message
De
18/03/2003 17:15:58
 
 
À
18/03/2003 16:42:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00767263
Message ID:
00767279
Vues:
12
Mark,

Yes It does the job . but there's a small problem.

myNumber = 456.123

? round(myNumber+0.005,2) && Displays 456.13
So far so good..

Now if myNumber = 456.00
? round(myNumber+0.005,2) && Displays 456.01

I want to see just 456.00 at this point

Any ideas how to take care of that ??

TIA

- Jeana -
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform