*

From Xojo Documentation

Revision as of 19:11, 19 November 2009 by WikiSysop (talk) (Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Description

Used to multiply two numbers.


Syntax

result=expression1 * expression2

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


Notes

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


Examples

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

x=50*30 //x is 1500

See Also

Operator_Multiply function; Operator precedence.