Thread: Math!
View Single Post
  #7  
Old 05-27-2006, 06:33 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
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;
  } 
Reply With Quote