Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Problem in Round Function C#
Naeem Khan
Dec 23 2009 4:15 AM
5k
Reply
hello every one,
well i have very big problem in Round Function when i m putting 3 digit number in text box than its not give me round function but if i m putting 2 digit number in text box than its convert into round function i dont know what wrong with that..............
double num = 100.5; num = Math.Round(num);//100
double num1 = 100.51; num = Math.Round(num);//101
but i want 100.5 as 101..........
hope u understand my problem.
thanks in Advance
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Problems with Delegates and Invoking
Explain about LinkedList and SortedList and Hashtable..and their differences