Editing Equal 1 You are editing an old version of this page. If you save it, any changes made since this version will be lost. You are editing an old version of this page. If you save it, any changes made since this version will be lost. You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor The '''equal''' operator is a type of [[comparison operator]] which returns the [[Boolean]] value {{code|literal|true}} if the [[number]] objects in input are equal, else it returns {{code|literal|false}}. Its token is named '''EQUAL'''. == [[FDS]] == {{See Also/small|Infix notation}} {{codeblock|{{tag|value}}{{tag|whitespace}}{{tag|comparator}}{{tag|whitespace}}{{tag|value}}}} === Example === {{codeblock|{{code|keyword|If}}{{code|whitespace| }}{{code|variable|Spike's age}}{{code|whitespace| }}{{code|operator|was}}{{code|whitespace| }}{{code|literal|10}}{{code|whitespace| }}{{code|keyword|then}}{{code|punctuation|:}}{{code|continuation|...}}}} This executes the next part of code if the variable {{code|variable|Spike's age}} is equal to {{code|literal|10}}. This is equivalent to the following '''Java''' code: {{codeblock|<SOURCE LANG=java>if(SpikesAge == 10) { ...</SOURCE>}} == See Also == *[[List of Keywords]] *[[Operators]] {{Navbox/Phrases}} {{stub}} Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes