Difference between revisions of "Manuals/calci/EQ"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<div style="font-size:30px">'''EQ (A,B)'''</div><br/>
 
<div style="font-size:30px">'''EQ (A,B)'''</div><br/>
 
*<math>A</math> and <math>B</math> are any real numbers.
 
*<math>A</math> and <math>B</math> are any real numbers.
 +
  
 
==Descreiption==
 
==Descreiption==
Line 9: Line 10:
 
*EQ  compares both real and imaginary parts A and B.  
 
*EQ  compares both real and imaginary parts A and B.  
 
*This function will check for alphabets and special characters also.
 
*This function will check for alphabets and special characters also.
 +
 +
 +
All comparison functions ( [[Manuals/calci/LT |LT]], [[Manuals/calci/LTE |LTE]], [[Manuals/calci/GT |GT]], [[Manuals/calci/GTE |GTE]], [[Manuals/calci/EQ |EQ]], [[Manuals/calci/NE |NE]], [[Manuals/calci/EQS |EQS]], [[Manuals/calci/NES |NES]], [[Manuals/calci/FEQ |FEQ]]) will assume B as 0, if not provided. So EQ(10) will be treated as EQ(10,0)
 +
  
 
==Examples==
 
==Examples==

Latest revision as of 22:58, 21 March 2024

EQ (A,B)


  • and are any real numbers.


Descreiption

  • This function determines the equality of two numbers.
  • In , and are any real and Imaginary number.
  • EQ will return the result as "TRUE" when A equals B.
  • EQ will return the result as "FALSE" when A not equals B.
  • EQ compares both real and imaginary parts A and B.
  • This function will check for alphabets and special characters also.


All comparison functions ( LT, LTE, GT, GTE, EQ, NE, EQS, NES, FEQ) will assume B as 0, if not provided. So EQ(10) will be treated as EQ(10,0)


Examples

  1. EQ(90,90) = true
  2. EQ(-123,123) = false
  3. EQ(14.23,14.02) = false
  4. EQ(2/3,6/9) = true
  5. EQ("june","june") = true

Related Videos

Equal

See Also

References

Equality

Equal