RPTools

Personal tools
From MapToolDoc

subtract

subract() Function

Subtracts the second number from the first number. Then will continue by subtracting the third number (if any from this result), the function continues subtracting until all number arguments are exhausted.

Usage

  1. [h: num = subtract(num, num, ...)]

Examples

  1.     [r: subtract(10, 2, 4)]
  2.     [r: subtract(9, 10, 3)]

Returns

   4
   -4