Difference between revisions of "Manuals/calci/UNITMINUS"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''UNITMINUS(A,B)'''</div><br/> *where <math>A</math> and <math>B</math> are two numbers to perform subtraction. ==Description== *This function ...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''UNITMINUS(A,B)'''</div><br/>
+
<div style="font-size:30px">'''UNITMINUS(a,b)'''</div><br/>
  
*where <math>A</math> and <math>B</math> are two numbers to perform subtraction.
+
*where <math>a</math> and <math>b</math> are two numbers to perform subtraction.
  
 
==Description==
 
==Description==
Line 7: Line 7:
 
*This function gives the subtraction value from two numbers.
 
*This function gives the subtraction value from two numbers.
 
*The numbers can be <math>+ve</math> or <math>-ve</math>.  
 
*The numbers can be <math>+ve</math> or <math>-ve</math>.  
*We can give any cell references like column or row number, logical values like true or false, or a result from any other functions in Arguments.  
+
*Input arguments can be cell references like column or row number, logical values like true or false, or a result from any other functions.  
 
*Even if more than two numbers are entered as argument, subtraction is carried out for only first two numbers.
 
*Even if more than two numbers are entered as argument, subtraction is carried out for only first two numbers.
 
*For arguments other than numbers, constant or logical values, Calci gives an error message.
 
*For arguments other than numbers, constant or logical values, Calci gives an error message.
Line 13: Line 13:
 
==ZOS==
 
==ZOS==
  
*The syntax is to calculate SUM is ZOS is <math>UNITMINUS(A,B)</math>
+
*The syntax to calculate subtraction in ZOS is <math>UNITMINUS(a,b)</math>.
*<math>A</math> and <math>B</math> are two numbers to be subtracted.
+
*<math>a</math> and <math>b</math> are two numbers to be subtracted.
  
 
==Examples==
 
==Examples==
Line 23: Line 23:
 
#UNITMINUS(1.42,3.234) = -1.814
 
#UNITMINUS(1.42,3.234) = -1.814
 
#UNITMINUS(10,20,5,5) = -10 (here subtraction is carried out for only first two numbers)
 
#UNITMINUS(10,20,5,5) = -10 (here subtraction is carried out for only first two numbers)
#A=14 ; B=6 ; =UNITMINUS(A,B) = 8
+
#A=14 ; B=6 ; UNITMINUS(A,B) = 8
  
 +
==Related Videos==
  
 +
{{#ev:youtube|v=Y6M89-6106I|280|center|Minus}}
  
 
==See also==
 
==See also==

Latest revision as of 02:19, 11 June 2020

UNITMINUS(a,b)


  • where and are two numbers to perform subtraction.

Description

  • This function gives the subtraction value from two numbers.
  • The numbers can be or .
  • Input arguments can be cell references like column or row number, logical values like true or false, or a result from any other functions.
  • Even if more than two numbers are entered as argument, subtraction is carried out for only first two numbers.
  • For arguments other than numbers, constant or logical values, Calci gives an error message.

ZOS

  • The syntax to calculate subtraction in ZOS is .
  • and are two numbers to be subtracted.

Examples

  1. UNITMINUS(40,10) = 30
  2. UNITMINUS(-56,-70) = 14
  3. UNITMINUS(true,true) = 0
  4. UNITMINUS(1.42,3.234) = -1.814
  5. UNITMINUS(10,20,5,5) = -10 (here subtraction is carried out for only first two numbers)
  6. A=14 ; B=6 ; UNITMINUS(A,B) = 8

Related Videos

Minus

See also


References