Subtract function

The Subtract function returns the difference of the first parameter less all subsequent parameters.

Parameter: number1

The number to subtract from. This can come from a source node, the result of another function, or a value that you specify.

Parameter: number2,, [number3-999]

The numbers to subtract. These can come from source nodes, the results of other functions, or values that you specify. You can specify multiple parameters here, but at  least one parameter is required.

Returns: number

The difference of the two parameters. If either parameter is not a number, returns NaN (not a number).

Example

number 1 = 42

number 2 = 7

number 3 = 8

returns: 27




Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/ref_Subtract.html