Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of Math.Round()
Message
From
06/01/2005 22:02:23
 
 
To
06/01/2005 19:40:02
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00974920
Message ID:
00974944
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform