Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding when .6 or higher?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00709236
Message ID:
00709238
Vues:
21
This should work
lnVal = 1.056
? ROUND(lnVal-0.001,2)
>Is there a way to round up only if the digit is 6 rather than 5? I know this is not conventional rounding, but we would like:
>
>1.055 - rounded to 1.05
>1.056 - rounded to 1.06
>
>Thanks,
>Doug
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform