Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Round() to get upper value ?
Message
 
À
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:
00767269
Vues:
9
Try with Ceiling() function

? ceiling(12.1) -> 13

>Hi All,
>
>I need to round any given number in following manner.
>
>Ex.
>LcNumber = 456.123
>
>
>MyResult = Round (lcNumber,2)
>? MyResults && Displays 456.12
>
>How do I force it to take the upper value all the time regardless 3rd decimal is < 5 ?? in this example I would like to see 156.13.
>
>
>
>Please Help !!
>
>TIA
>
>- Jeana -
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform