0

Hi!!!

I have made a window application in which ,we have to roundoff the numbers of given expression to nearest 10,100,1000 and then solve the expression.So i have taken 3 textboxes.

In the first textbox User enter any expression

like 231*437.

In second user can enter 10 or 100 or 1000

And on button click the result should be displayed in third textbox ,which is 8000(i.e.if we enter 100 in second textbox then expression becomes200*400=80000 because nearest 100 of 231 is 200 and that of 437 is 400).

Can anyone give me C# code for this....