Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need Round UP Command
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00564838
Message ID:
00566486
Vues:
23
>Hi,
>
>What about:
>
>
Round(CSng(nValue)+0.5)
>
>Just 2 cents.


Well, if nValue is 4.0, that still returns 5.0. Which, I would assume, is not the desired result.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform