Comparison Operations: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(edit)
(edit)
Line 5: Line 5:
|width="10%"|'''Operator'''|| '''Effect'''
|width="10%"|'''Operator'''|| '''Effect'''
|-valign="top"
|-valign="top"
|width="10%"|'''='''||may be used for assignment or comparing 2 values like the '''==''' operator
|width="10%"|'''='''||may be used for 2 values like the '''==''' operator below
|-valign="top"
|width="10%"|'''=='''||equality
|-valign="top"
|-valign="top"
|width="10%"|'''<>'''||not equal
|width="10%"|'''<>'''||not equal
Line 12: Line 14:
|-valign="top"
|-valign="top"
|width="10%"|'''<='''||less than or equal to
|width="10%"|'''<='''||less than or equal to
|-valign="top"
|width="10%"|'''=='''||equality
|-valign="top"
|-valign="top"
|width="10%"|'''>'''||more than
|width="10%"|'''>'''||more than

Revision as of 12:36, 11 January 2012

Below is the list of comparison operators:

Operator Effect
= may be used for 2 values like the == operator below
== equality
<> not equal
< less than
<= less than or equal to
> more than
>= more than or equal to