C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Rounded Figure


Posted Date: 14 Jun 2007      Posted By: Deepthi Ann       Member Level: Silver     Points: 2   Responses: 3



Hi


I want a figure as a rounded(6.567= 6.6) in text box.what can ia do?
plz help me





Responses

Author: Cema Indumathy V    14 Jun 2007Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Math.Round ()


Author: dayanandmagi    14 Jun 2007Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

textbox1.text = Math.Round(6.567M);


Author: Shiva SaiRam    14 Jun 2007Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Response.Write(Math.Round(6.567,1));
the above gives 6.6



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : No body Responded for my Question
Previous : stored procedures
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use