Topic: DMD0195 Math Equal Operator |
|||||||||||||||||||||
|
|||||||||||||||||||||
The Math Equal operator ( == ) will determine if the number or expression on the left side of the operator is equal to the number or expression on the right side of the operator. The result will be a value of 1 if the values are Equal or a value of 0 if the values are NOT 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:
Equal To
|
|||||||||||||||||||||
|
|||||||||||||||||||||
Related Topics:
|
|||||||||||||||||||||
|