Mul()

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: mul(number1[, numberN]...)

Returns the result of multiplying its arguments together. You may multiply up to 100 numbers in one mul() call. numberN may be a floating-point number, and a floating-point result is returned.

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

Examples

> say mul(2,4)
You say "8"
> say mul(5,3,7,-4)
You say "-420"