Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Greater than

Also known as an angle bracket, the greater than is a symbol ( > ) that is found on all computer keyboards, commonly on the same key as the period on U.S. keyboards. The greater than symbol resembles an arrow pointing to the right and is commonly used in math and computer programming.

With computers the greater than is often seen on the command line prompt. Below are two examples of command line prompts using the greater than symbols.

MS-DOS prompt:
C:\Windows>

Linux / Unix prompt:
hope>

Below is an example of how the greater than could be used in math. In the below example the statement is showing that 10 is greater than 2.

10 > 2

Finally, below is an example of how the greater than could be used in computer programming. In this example the if statement is performed if the variable $myvalue is greater than 100.

if ($myvalue > 100) {
print "More than 100.\n";
}

Also see: GT, Keyboard definitions, Less than

 

Index

Category:
Dictionary

Related Pages:
G - Definitions

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope