

Line 1: 
Line 1: 
− 
{{for  the use of the ">" sign as punctuation  Bracket#Uses of "<" and ">"}}

+ 
[['''thumgbgbnail''']] 
− 


− 
{{lead missingdate=October 2012}} 

− 
==Computing== 

− 


− 
The '''greaterthan sign''' (<TT>></TT>) is an original [[ASCII]] character (hex 3E, decimal 62). 

− 


− 
===Angle brackets=== 

− 


− 
The greaterthan sign is used for an approximation of the closing [[Bracketangle bracket]] (⟩). ASCII does not have (angular brackets). 

− 


− 
===Programming language=== 

− 


− 
[[BASIC]] and [[C (programming language)C]]family languages, (including [[Java (programming language)Java]] and [[C++]]) use the operator <TT>></TT> to mean "greater than". In [[Lisp (programming language)Lisp]]family languages, <TT>></TT> is a function used to mean "greater than". 

− 
In [[Coldfusion]] and [[Fortran]], operator <TT>.GT.</TT> means "greater than". It basically means this sign > is greater than and this sign < is less than. 

− 


− 
===Double greaterthan sign=== 

− 


− 
The double greaterthan sign (<TT>>></TT>) is used for an approximation of the [[much greater than]] sign (≫). ASCII does not have the much greaterthan sign. 

− 


− 
The double greaterthan sign (<TT>>></TT>) is also used for an approximation of the closing [[Guillemetsguillemet]] (»). ASCII does not have guillemets. 

− 


− 
In [[Java (programming language)Java]], [[C (programming language)C]], and [[C++]], the operator <TT>>></TT> is the [[rightshift operator]]. In C++ it is also used to get input from a [[Stream (computing)stream]], similar to the C functions <TT>getchar</TT> and <TT>fgets</TT>. 

− 


− 
===Greaterthan sign plus equals sign=== 

− 


− 
The greaterthan sign plus the equals sign (<TT>>=</TT>) is used for an approximation of the [[greater than or equal to]] sign (≥). ASCII does not have greaterthanorequalto sign. 

− 


− 
In [[BASIC]], [[Lisp (programming language)Lisp]]family languages, and [[C (programming language)C]]family languages (including [[Java (programming language)Java]] and [[C++]]), operator <TT>>=</TT> means "greater than or equal to". 

− 


− 
In [[Fortran]], operator <TT>.GE.</TT> means "greater than or equal to". 

− 


− 
Example: 5 > 2 means 5 is greater than 2. 6 < 9 means 6 is less than 9. 

− 


− 
===Shell scripts=== 

− 


− 
In [[Bourne shell]] (and many other shells), greaterthan sign is used to [[Redirection (Unix)redirect]] output to a file. Greaterthan plus ampersand (<TT>>&</TT>) is used to redirect to a [[file descriptor]]. 

− 


− 
===Spaceship operator=== 

− 


− 
Greaterthan sign is used in the [[spaceship operator]]. 

− 


− 
===HTML=== 

− 


− 
In [[HTML]] (and [[SGML]] and [[XML]]), the greaterthan sign is used at the end of tags. The greaterthan sign may be included with <TT>&gt;</TT>. 

− 


− 
===Electronic mail=== 

− 
The greaterthan sign is used to denote [[quotation]]s in the [[email]] and [[newsgroup]] formats, and this has been taken into use also in forums. 

− 


− 
==See also== 

− 
* [[Inequality (mathematics)]] 

− 
* [[Lessthan sign]] 

− 
* [[Relational operator]] 

− 
* [[Muchgreaterthan sign]] 

− 
* [[Guillemet]] 

− 
* [[Implication]] 

− 


− 
[[Category:Typographical symbols]] 

− 


− 
[[cs:Větší než]] 

− 
[[da:Større endtegn]] 

− 
[[sv:Större äntecken]] 
