Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Rounding off Decimal Digits
jeya pandi
7y
264
1
Reply
Hi,
I need to convert my value 2.8634 to 2.8. I tried the following ,
var no = Math.Round(2.8634,2,MidpointRounding.AwayFromZero)
I'm getting 2.87.
Suggest me some ideas how to convert.
Thanks
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How can I get total size of File in MB or KB etc... ?
How to implement autocomplete control in xamarin forms ios