Topic: DMD0123 Math Less Than or Equal Operator |
|||||||||||||||
|
|||||||||||||||
The Math Less Than or Equal operator ( <= ) will determine if the number or expression on the left side of the operator is less than or equal to 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 Less Than or Equal or a value of 0 if the left side value is NOT Less Than or Equal. 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:
Less than or Equal To
|
|||||||||||||||
|
|||||||||||||||
Related Topics:
|
|||||||||||||||
|