Content deleted Content added
Tags: Reverted extraneous markup Visual edit |
Reverted edits by 117.198.160.120 (talk) (HG) (3.4.10) |
||
Line 33:
| year = 2003}}.</ref> In the mathematical literature the symbols used are often "+" ([[Plus sign|plus]]), "'''·'''" ([[Full stop|dot]]) and [[overbar]], or "∨" (cup), "∧" (cap) and "¬" or "′" (prime).
==Examples==
*The expression {{code|5 > 3}} is evaluated as {{samp|true}}.
*The expression {{code|3 > 5}} is evaluated as {{samp|false}}.
*{{code|1=5>=3}} and {{code|1=3<=5}} are equivalent Boolean expressions, both of which are evaluated as {{samp|true}}.
*<code>[[typeof]] true</code> and <code>typeof false</code> return {{samp|boolean}}
*Of course, most Boolean expressions will contain at least one variable ({{code|X > 3}}), and often more ({{code|X > Y}}).
==See also==
|