Topic: DMD0198 Math Greater Than Operator |
|||||||||||||||
|
|||||||||||||||
The Math Greater Than operator ( > ) will determine if the number or expression on the left side of the operator is greater than the number or expression on the right side of the operator. The result will be a value of 1 if the left side value is Greater Than or a value of 0 if the left side value is NOT Greater Than the value. The result can be placed in any writable discrete memory location or any writable numeric location.
The numbers and expressions can be any mix of signed integers, unsigned integers, real (floating point) numbers or discrete values. They can be any numeric or discrete memory location or any numeric or discrete structure member.
All discrete and 16-bit integer values are promoted to 32-bit 2's complement signed integer values. If a Real value is included in the equation then all of the values will be promoted to Real values and all calculations will be performed using Real numbers.
|
|||||||||||||||
|
|||||||||||||||
See Also:
Greater Than
|
|||||||||||||||
|
|||||||||||||||
Related Topics:
|
|||||||||||||||
|