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.

Amit KumarPosted Dec 27, 2017, 7:44 AM
Sumit RinganePosted Dec 27, 2017, 11:49 PM
Laxmidhar SahooPosted Dec 27, 2017, 7:42 AM