Sie sind auf Seite 1von 1

Now there will also be an equal button in the calculator.

step10:For equl sign, write the below code:


textstring=get(handles.text1,'string');
textstring=eval(textstring);
set(handles.text1,'string',textstring);
when you press the equal button,the result will be displayed.

Das könnte Ihnen auch gefallen