Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How I get after decimal point three value with round
Sumit Ringane
Dec 27 2017 7:30 AM
127
Reply
suppose I have value
double val=0.12345
i want round value from decimal third digit.
i want to get value with round
expected answer result = 0.123
if double vale=0.1235
ans result=0.124
if double val=0.1111
ans result=0.111
How I get the result?
please anyone guide me.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
give me solution in c#
inserting data from tablepanellayout to sql server database