subtract

From RPTools Wiki
Revision as of 22:21, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page subtract to Subtract without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

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

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

Examples

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

Returns

   4
-4