Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Bigger than and Smaller than Question?

Asked by
KAAK82 16
10 years ago

I see in Scripts stuff like this lala > 0 and lala >= 0 or lala < 0 and lala < 0 wats the difference? if nothing, then y do people use >= instead of just >?

3 answers

Log in to vote
0
Answered by 10 years ago

is greater than < is less than == is equals to = is greater than or equal to <= is less than or equal to

0
not that... dude... am not that dumb :P I mean wts the difference between <= and <! KAAK82 16 — 10y
Ad
Log in to vote
0
Answered by
NotSoNorm 777 Moderation Voter
10 years ago

It means greater than or equal to or less than or equal to Ex.

if 2+3 => 8 == true

This would mean it would be false because, Its not less than or equal to.

0
so if its >= then its eual to or less than? unlike if it wwas just > then it would be smaller than? KAAK82 16 — 10y
0
Exactly NotSoNorm 777 — 10y
Log in to vote
-1
Answered by 10 years ago

Here is what I think

You can't do

if 2+3 == 5 = true then

you do

if 2+3 > 5 == true

or

if 2+3 >5 = true
0
I don't think this is true, and anyway, its not answwering my uestion... KAAK82 16 — 10y
0
Sorry! Roboy5857 20 — 10y

Answer this question