Operator * (Multiply)

Multiplies two numeric expressions

Syntax
	KeyPgDeclareDeclare KeyPgOperatorOperator * ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgIntegerInteger, KeyPgByrefByRef rhs KeyPgAsAs KeyPgIntegerInteger ) KeyPgAsAs 
	KeyPgIntegerInteger
	KeyPgDeclareDeclare KeyPgOperatorOperator * ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgUintegerUInteger, KeyPgByrefByRef rhs KeyPgAsAs KeyPgUintegerUInteger ) KeyPgAsAs 
	KeyPgUintegerUInteger

	KeyPgDeclareDeclare KeyPgOperatorOperator * ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgSingleSingle, KeyPgByrefByRef rhs KeyPgAsAs KeyPgSingleSingle ) KeyPgAsAs KeyPgSingleSingle
	KeyPgDeclareDeclare KeyPgOperatorOperator * ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgDoubleDouble, KeyPgByrefByRef rhs KeyPgAsAs KeyPgDoubleDouble ) KeyPgAsAs KeyPgDoubleDouble

Usage
	result = lhs * rhs

Parameters
	lhs
		The left-hand side multiplicand expression.
	rhs
		The right-hand side multiplicand expression.

Return Value
	Returns the product of two multiplicands.

Description
	Operator * (Multiply) returns the product of two multiplicands.

	Neither operand is modified in any way.

	This operator can be overloaded to accept user-defined types.

Example
	Dim n As Double
	n = 4 * 5
	Print n
	Sleep

Output:

	20

Dialect Differences
	* In the CompilerOptlang-lang qb dialect, this operator cannot be overloaded.

Differences from QB
	* None

See also
	* CatPgMathMathematical Functions

