Detect Which Real is Greater

Status
Not open for further replies.
Level 6
Joined
Sep 19, 2005
Messages
169
I could be missing something simple, so if this is he case please forgive me. What I'm looking for is a way to compare the sizes of two reals. For example, if x.xx is greater than y.yy then do ____________. The goal is just to determine which player has the highest KD but without it rounding.
 
Well, a Real Comparison should do the job I guess?

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • tempReal1 Greater than tempReal2
    • Then - Actions
      • -------- do A --------
    • Else - Actions
      • -------- do B --------

Edit:
Since it's K/D, I assume they cannot be equal (which can happen in rare cases), so:

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • tempReal1 Greater than tempReal2
    • Then - Actions
      • -------- Team 1 higher K/D --------
    • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • tempReal1 Equal to tempReal2
        • Then - Actions
          • -------- Tied --------
        • Else - Actions
          • -------- Team 2 higher K/D --------
 
Status
Not open for further replies.
Back
Top