Difference between revisions of "Manuals/calci/PLUSMINUS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
*This function shows the positive(plus) and negative(minus) values of the given number or set of numbers.  
 
*This function shows the positive(plus) and negative(minus) values of the given number or set of numbers.  
 
*Plus(Addition) and Minus(Subtraction) are basic operations of arithmetic.
 
*Plus(Addition) and Minus(Subtraction) are basic operations of arithmetic.
 +
*Numbers can be positive or negative.
 +
*Positive numbers are showing with "+" sign and negative numbers are displaying with "-" sign.
 +
*If a number has no sign it usually means that it is a positive number.
 +
*For example 13 means +13 only.
 +
*So this function shows the positive value and negative value of a given number.
 +
*So will get a result as 34 and -34 for PLUSMINUS(34)
  
  

Revision as of 13:27, 17 April 2017

PLUSMINUS(Number)


  • where is the number of which plus and minus values are to be found.

Description

  • This function shows the positive(plus) and negative(minus) values of the given number or set of numbers.
  • Plus(Addition) and Minus(Subtraction) are basic operations of arithmetic.
  • Numbers can be positive or negative.
  • Positive numbers are showing with "+" sign and negative numbers are displaying with "-" sign.
  • If a number has no sign it usually means that it is a positive number.
  • For example 13 means +13 only.
  • So this function shows the positive value and negative value of a given number.
  • So will get a result as 34 and -34 for PLUSMINUS(34)


Examples

  1. PLUSMINUS(10) = 10 -10
  2. PLUSMINUS(-2.25) = -2.25 2.25

For a given set of numbers, table is displayed as follows -

  • PLUSMINUS([981,872,156,123,200]) =
981 -981
872 -872
156 -156
123 -123
200 -200
  • PLUSMINUS(4..14) =
4 -4
5 -5
6 -6
7 -7
8 -8
9 -9
10 -10
11 -11
12 -12
13 -13
14 -14

See Also


References