bripena
asked on
How to Round Numbers???
I am currently building a Web Page in Visual Studio.NET.... (C#). I am trying to figure out how to 'round numbers" that I am pulling into text boxes in my Web Form from a DB. Currently, When I view the page the numbers are coming up as "0.96544456754363." I want to round them to "0.97". How would I do this in C#?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That error is not related to the double rounding statement but rather another code change you've done. It's hard to say what's causing the error, but perhaps it's some sort of namespace renaming operation you've been doing.
ASKER
c:\inetpub\wwwroot\CREAMPR