Skip to content

How do round a number say 83256851 to 83256900 ?

Sanket Jain

Asked Feb 18, 2016, 12:44 AM EST1 answer
Share
LinkedInX
How do round a number say 83256851 to 83256900 ?
 How do round a number say 83256951 to 83257000 ?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I got the Solution :-
     
    Code
     int i1 = Convert.ToInt32(value.ToString());
                        double i2 = Convert.ToDouble(i2) / 100;
                        int i3 = Convert.ToInt32(i2);
                        int i4 = i3 * 100;
    value1.Text=i4.ToString();
    0