Quote:
|
Originally Posted by Shaun
It would be useful to see the rest of the algorithm in trying to come to a solution.
EDIT:
And those are GS1 sleeps, not GS2
|
Good point XD
Since they're all the same (and none but addition work):
PHP Code:
temp.display=calc_num.text;
calc_num.text="";
this.total-=temp.display;
this.calc_mode=2;
as for the equals button:
PHP Code:
if(this.calc_mode==2)
{
this.total-=calc_num.text;
}