Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of Math.Round()
Message
De
06/01/2005 22:02:23
 
 
À
06/01/2005 19:40:02
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00974920
Message ID:
00974944
Vues:
11
>When I use the Math.Round() function to format my display to 9.99, it is working well. However, if the value is 9.8, I would like to have the 0 at the end to show. How can I accomplish that?

I converted it to:
.ToString("#0.00")
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform