divide

From RPTools Wiki
Revision as of 13:27, 1 December 2008 by Craig (talk | contribs) (New page: ==Function divide== Divides the first number by the second number, and then divides that result by the third number --if present-- and so on for all the numbers passed to the function. ==...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function divide

Divides the first number by the second number, and then divides that result by the third number --if present-- and so on for all the numbers passed to the function.

Usage

[h: props = divide(num, num, ...)]

Examples

[r: divide(4, 2)]

Returns 2.

[r: divide(24, 2, 2)]

Returns 6.