Hi, i did not understand why is it necessary that writing app.integerNumber=0; app.dotNumber=''; app.enableDot=0; line 201,202, and 203. in 21:29 could you help me?
app.integerNumber is use to store current user input, so you need to reset on every we type a new value on any calculation that why we have to reset by using app.inegerNumbe=0; app.dotNumber=' ' mean we want to rese t current float number before input a new value. app.enableDot=0 mean we want to be able to apply a new dot to a new value again [ex. 3.14+2.3, 3.14 is an old which we've modify "." to it, so 2.3 we need to add "." again that why we have to reset it]. if you still not clear at which point, write your question below.
@@robocamedu i understood everything except one thing. i think that we do not need to app.dotNumber. If we need, why we need? could you explain it please? thanx
I kept getting this error: Unrecognized method, property, or field 'label_result' for class 'MyCalculator_2'. When I type this: result = [app.label_result.Text '1']; newResult = str2num(result); app.label_result.Text = num2str(newResult); How do I fix this?
great video! congrats!
please help if i want to add cos/sin/tan functions
you saved me
gracias, buen video :D
Hi,
i did not understand why is it necessary that writing
app.integerNumber=0;
app.dotNumber='';
app.enableDot=0;
line 201,202, and 203. in 21:29
could you help me?
app.integerNumber is use to store current user input, so you need to reset on every we type a new value on any calculation that why we have to reset by using app.inegerNumbe=0;
app.dotNumber=' ' mean we want to rese t current float number before input a new value.
app.enableDot=0 mean we want to be able to apply a new dot to a new value again [ex. 3.14+2.3, 3.14 is an old which we've modify "." to it, so 2.3 we need to add "." again that why we have to reset it].
if you still not clear at which point, write your question below.
@@robocamedu oh yeah you're right, i understood exactly, thanks for helping
@@robocamedu i understood everything except one thing. i think that we do not need to app.dotNumber. If we need, why we need? could you explain it please? thanx
I kept getting this error:
Unrecognized method, property, or field 'label_result' for class 'MyCalculator_2'.
When I type this:
result = [app.label_result.Text '1'];
newResult = str2num(result);
app.label_result.Text = num2str(newResult);
How do I fix this?
I suggest you to check your label name again, because you maybe didn't change the result label name to label_result.
@@robocamedu i have this error x2
Thanks !!!
លោកគ្រូនៅលេខខាងក្រោយDot បានត្រឹមតែ4លេខ
ដើម្បីបានលើសពី៤ខ្ទង់ យើងត្រូវប្រើពាក្យ format long មុននិងបង្ហាញទិន្ន័យ។