Function: mul
The mul()
function performs multiplication.
- If both numbers are integers, the result will be an integer.
- If either number is a float, the result will be a float.
Syntax:
<number>.mul(<number>)
Example:
var.test_value = 7
var.new_value = var.test_value.mul(6)
case true:
// Render as: "New value: 42"
return DEBUG, "New value: @var.new_value"