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
jszym20
NA
20
0
Round for Decimal
Jan 20 2005 7:20 AM
Hi, I have problem. I writed code Decimal.Round(System.Convert.ToDecimal( 8930.305), 2) it return 8930.30, but Decimal.Round(System.Convert.ToDecimal( 8930.3051), 2) return 8930.31, If I write in SQL select Round(8930.305, 2) from dual; it return 8930.31 So what can I do? I must to have same result. I thing that Decimal.Round(System.Convert.ToDecimal( 8930.305), 2) should return 8930.31. What can I do? I have two different result. Please help me, Asia
Reply
Answers (
2
)
What do you mean by Override?
Propagate Exception