Number Comparison : Comparison Operators « Language « Flash / Flex / ActionScript

Home
Flash / Flex / ActionScript
1.Animation
2.Array
3.Class
4.Data Type
5.Development
6.Function
7.Graphics
8.Language
9.Network
10.Regular Expressions
11.Statement
12.String
13.TextField
14.XML
Flash / Flex / ActionScript » Language » Comparison Operators 
Number Comparison
 
 

Expression      Result 
== 6          true 
!= 6          false 
6           false 
6           false 
>= 6          true 
<= 6          true 

        
Related examples in the same category
1.Comparison Operators in Actionscript
2.Strict equality
3.Checking Equality or Comparing Values
4.The logical inequality operator (!=) returns false if two values are equal and true if they aren't.
5.Use the < and > operators to check if one value is less than or greater than another value:
6.Use the <= and >= operators to check if one value is less than or equal to, or greater than or equal to, another value:
7.When comparing primitive datatypes, ActionScript compares them by value.
8.When you compare composite datatypes, ActionScript compares them by reference.
9.Two composite items are equal only if they both refer to the identical object
10.Equality (==)
11.Greater Than (>) and Less Than (<)
12.Not Equal To (!=)
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.