Mul()

From TinyMUX
Jump to navigation Jump to search

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"