Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding
Message
De
21/10/1997 12:52:11
 
 
À
21/10/1997 12:45:15
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00055770
Message ID:
00055775
Vues:
31
>I have a program that calculates a bunch of dollar figures as well as many whole number counts. Somehow I need the dollar figures to always round down(ie. 98.768 = 98.76), and the whole number counts to round up(55.6 = 56). These calculations are spread throughout the many forms and pages that make up the application. I am hoping for some type of SET option.

Sorry, I don't know an easy way out (SET option).

You will need these two functions:
- Floor() for the dollar
- Ceiling() for the whole numbers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform