Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a Double to X decimal places
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Getting a Double to X decimal places
Divers
Thread ID:
00928237
Message ID:
00928237
Vues:
56
Hi - I expect this is really easy but I can't figure it out...

If I have
Dim myDouble as Double = 8.876
How do I round that up to two decimal places so I get 8.88?

I have looked at the math class but with no joy.

Thanks!
Chris Maiden
Email
Web
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform