Manuals/calci/UNITOP
Jump to navigation
Jump to search
UNITOP(op,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 op} is the operation to be performed
- 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 two real numbers.
Description
- This function performs the operation mentioned as an argument with the two numbers entered.
- 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 UNITOP(op,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 op} is the operation to be performed. 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 two real numbers.
- 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
Related Videos
See Also
References