Difference between revisions of "Manuals/calci/LTE"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
*If A is lesser than or equal to B then will return the result as TRUE. | *If A is lesser than or equal to B then will return the result as TRUE. | ||
*If A is strictly less than B then will return the result as FALSE. | *If A is strictly less than B then will return the result as FALSE. | ||
+ | |||
+ | |||
+ | 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:57, 21 March 2024
LTE (A,B)
- and any two real numbers.
Description
- This function is the test for lesser than or equal to the given two numbers.
- In , and are any two real numbers.
- If A is lesser than or equal to B then will return the result as TRUE.
- If A is strictly less than B then will return the result as FALSE.
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
- LTE(198,231) = true
- LTE(7615,7610) = false
- LTE(1000,1000) = true
- LTE(-543,-900) = false