Editing Greater than 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 '''greater than''' operator is a type of [[Comparison Operators|comparison operator]] which returns the [[Booleans|boolean]] value {{tag|literal|true}} if the first [[Numbers|number]] object's value is bigger than the second's, else it returns {{tag|literal|false}}. Its token is named '''GREATER_THAN'''. == [[FDS]] == {{See Also/small|Infix notation}} {{codeblock|{{code|value|<value:'''number'''>}}{{tag|whitespace}}[[Comparison Operators|{{code|operator|<comparator>}}]]{{code|operator|[more/greater] than}}{{tag|whitespace}}{{code|value|<value:'''number'''>}}}} === Example === {{codeblock|{{code|keyword|If}}{{code|whitespace| }}{{code|variable|Spike's age}}{{code|whitespace| }}{{code|operator|is greater than}}{{code|whitespace| }}{{code|literal|2}}{{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 bigger than {{code|literal|2}}. This is equivalent to the following '''Java''' code: {{codeblock|<SOURCE LANG=java>if(Spike_s_age>10) { ...</SOURCE>}} == See Also == *[[List of Keywords]] *[[Operators]] {{stub}} {{Navbox/Phrases}} 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