Difference between revisions of "Manuals/calci/GT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
==Description==
 
==Description==
 
*This function is the test for strictly greater than for the given numbers.
 
*This function is the test for strictly greater than for the given numbers.
*In <math>GT(A,B)</math>,<math>A</math and B are any two real numbers.
+
*In <math>GT(A,B)</math>,<math>A</math> and <math>B</math> are any two real numbers.
 
*If A is strictly greater than to B then will return the result as TRUE.  
 
*If A is strictly greater than to B then will return the result as TRUE.  
 
*If A is equal to or less than to B then will return the result as FALSE.
 
*If A is equal to or less than to 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==
Line 15: Line 18:
 
#GT("April","August") = false
 
#GT("April","August") = false
 
#GT("may","may") = false
 
#GT("may","may") = false
 +
#GT(2cm,200m) = false
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=-WlA9u6MiO8|280|center|Greater Than}}
  
 
==See Also==
 
==See Also==

Latest revision as of 21:58, 21 March 2024

GT (A,B)


  • and are any two real numbers.

Description

  • This function is the test for strictly greater than for the given numbers.
  • In , and are any two real numbers.
  • If A is strictly greater than to B then will return the result as TRUE.
  • If A is equal to or less than to 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

  1. GT(12,8) = true
  2. GT(-65,-34) = false
  3. GT(123.34,132.43) = false
  4. GT(7/8,9/11) = true
  5. GT("April","August") = false
  6. GT("may","may") = false
  7. GT(2cm,200m) = false

Related Videos

Greater Than

See Also

References