Editing Not equal 0 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 '''not equal''' operator is a type of [[comparison operator]] which returns the [[Boolean]] value {{code|literal|false}} if and only if the given objects are equal, else it returns {{code|literal|true}}. Its token is named '''NOT_EQUAL'''. == [[FDS]] == {{See Also/small|Infix notation}} {{codeblock|{{tag|value}}{{tag|whitespace}}{{tag|comparator}}[{{code|operator|n't}}/{{tag|whitespace}}{{code|operator|not}}]{{tag|whitespace}}{{tag|value}}}} === Example === {{codeblock|{{code|keyword|If}}{{code|whitespace| }}{{code|variable|Spike's age}}{{code|whitespace| }}{{code|operator|was not}}{{code|whitespace| }}{{code|literal|10}}{{code|whitespace| }}{{code|keyword|then}}{{code|punctuation|:}} {{code|continuation|...}}}} This executes the next part of code only if the variable {{code|variable|Spike's age}} is different from {{code|literal|10}}. This is equivalent to the following '''Java''' code: {{codeblock|<SOURCE LANG=java>if(Spike_s_age!=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