Raised This Month: $ Target: $400
 0% 

Dividing Arrays and comparing


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xiiph
Junior Member
Join Date: Mar 2005
Old 04-23-2005 , 18:42   Dividing Arrays and comparing
Reply With Quote #1

Okay I want it to do this:

option[] is defined by what keys ppl press when voting.

Code:
new option[2]

if ((option[0] / option[1]) > 0.65) {
      do_this()
}
I cant get this to work, its probably a silly beginner mistake, but plz help anyway.
xiiph is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode