Difference between revisions of "Manuals/calci/EQ"
(2 intermediate revisions by 2 users 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== | ||
Line 29: | Line 34: | ||
==References== | ==References== | ||
+ | [https://en.wikipedia.org/wiki/Equality_(mathematics) Equality] | ||
+ | |||
[https://api.jquery.com/eq/ Equal] | [https://api.jquery.com/eq/ Equal] | ||
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
- EQ(90,90) = true
- EQ(-123,123) = false
- EQ(14.23,14.02) = false
- EQ(2/3,6/9) = true
- EQ("june","june") = true
Related Videos
See Also
References