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:
00566658
Vues:
18
>>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.

Hi Vin,

I just tried in the both VB 6.0 and in VBA for Access 2000 and Round(Csng(4)+0.5) returnes 4.
Please check it out and correct me if I missed anything.
Igor Gelin
Database Developer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform