| Also known as an angle bracket, the less than is a symbol ( < ) that is found on all computer keyboards, commonly the same key as the comma. The less than symbol resembles an arrow pointing to the left and is commonly used in math and computer programming. Below is an example of how the less than could be used in math. In the below example the statement is showing that 2 is less than 10. 2 < 10 Finally, below is an example of how the less than could be used in computer programming. In this example the if statement is performed if the variable $myvalue is less than 100. if ($myvalue < 100) { print "Less than 100.\n"; }
Also see: Greater than, Keyboard definitions, LT | |
| Resolved |
Were you able to locate the answer to your questions?
|
| |