Isub()

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

FUNCTION: isub(number1, number2)

Returns the result of subtracting integer number2 from integer number1. Similar to sub() except that the addition is done with 64-bit integer math (on both 32-bit and 64-bit platforms).

Related Topics: add(), dec(), iadd(), idiv(), imul(), inc(), mod(), mul(), sub().

Examples

> say isub(5,2)
You say "3"

Server Differences

TinyMUX is the only server to support this function. However, sub() is a somewhat slower equilvalent for numbers up to 56-bits.