Difference between revisions of "Manuals/calci/UNITOP"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''UNITOP(OP,A,B)'''</div><br/> *<math>OP</math> is the operation to be performed *<math>A</math> and <math>B</math> are any two real numbers. ==D...") |
|||
Line 12: | Line 12: | ||
#UNITOP(SUM,5,18) = 23 | #UNITOP(SUM,5,18) = 23 | ||
#UNITOP(MINUS,-90,-75) = -15 | #UNITOP(MINUS,-90,-75) = -15 | ||
− | #UNITOP(GT,210, | + | #UNITOP(GT,210,201) = true (checks if first number is greater than or equal to second number) |
#UNITOP(LT,3.234, 1.42) = false (checks if first number is less than second number) | #UNITOP(LT,3.234, 1.42) = false (checks if first number is less than second number) | ||
#UNITOP(UNITMULTIPLY,5,18) = 90 | #UNITOP(UNITMULTIPLY,5,18) = 90 | ||
#UNITOP(UNITMOD,5,3) = 2 | #UNITOP(UNITMOD,5,3) = 2 | ||
#UNITOP(UNITDIVIDE,50,5) = 10 | #UNITOP(UNITDIVIDE,50,5) = 10 | ||
− | |||
==See Also== | ==See Also== |
Revision as of 13:40, 16 March 2018
UNITOP(OP,A,B)
- is the operation to be performed
- and are any two real numbers.
Description
- This function performs the operation mentioned as an argument with the two numbers entered.
- In , is the operation to be performed. and are any two real numbers.
- If operation can be addition, subtraction, multiplication, division, mod, greater-than, less-than etc.
Examples
- UNITOP(SUM,5,18) = 23
- UNITOP(MINUS,-90,-75) = -15
- UNITOP(GT,210,201) = true (checks if first number is greater than or equal to second number)
- UNITOP(LT,3.234, 1.42) = false (checks if first number is less than second number)
- UNITOP(UNITMULTIPLY,5,18) = 90
- UNITOP(UNITMOD,5,3) = 2
- UNITOP(UNITDIVIDE,50,5) = 10
See Also
References