From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


The * operator is used to multiply two numbers.


result = expression1 * expression2

Part Type Description
result Number The product of expression1 and expression2.
expression1 Number Any numeric expression.
expression2 Number Any numeric expression.


You can use Operator_Multiply to define the * operator for classes.

Sample Code

This example stores the product of two numbers in a variable:

Var x As Integer
x = 50 * 30 // x is 1500

See Also

Operator_Multiply function; Operator precedence.