TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vaibhav kadian
NA
5
0
Rounding Off
Jul 31 2007 5:49 AM
what is the output of the following statements : Console.WriteLine(decimal.Round(Convert.ToDecimal("0.05"), 1)); --0.0-- Console.WriteLine(decimal.Round(Convert.ToDecimal("0.15"), 1)); --0.2-- Inference: 5 at 2nd decimal place is rounded to 1 if first decimal places is non-zero else zero Why? How are decimal maintained by .net
Reply
Answers (
2
)
imagebutton in centre
Affinity New Dual core PC