Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Round() to get upper value ?
Message
 
 
À
18/03/2003 17:15:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00767263
Message ID:
00767286
Vues:
8
? round(myNumber+0.0049,2)

>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 -
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform