Difference between revisions of "Manuals/calci/EQ"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
*<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 11: | 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 21:58, 21 March 2024
EQ (A,B)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} are any real numbers.
Descreiption
- This function determines the equality of two numbers.
- In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle EQ(A,B)} ,Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} 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