Changes

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 ..."
<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 gives the subtraction value from two numbers.
*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.
*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 is to calculate SUM is ZOS is <math>UNITMINUS(A,B)</math>
*<math>A</math> and <math>B</math> are two numbers to be subtracted.

==Examples==

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



==See also==

*[[Manuals/calci/MINUS| MINUS]]
*[[Manuals/calci/SUBTRACT| SUBTRACT]]
*[[Manuals/calci/UNITADD| UNITADD]]


==References==

*[https://www.mathsisfun.com/numbers/subtraction.html Minus]



*[[Z_API_Functions | List of Main Z Functions]]

*[[ Z3 | Z3 home ]]
writer
2,661

edits