Multiply

Item Description

Use with:

Startup scripts, Terminal Launcher, Web, and Windows

SecureLogin version:

3

Type:

Variable Manipulator

Usage:

Multiply variable1 variable2 [?result]

Arguments:

variable1


variable2

[?result]

The multiplicand. The first argument. The number that will be multiplied by the second argument. This argument will contain the result if the optional [?result] argument is not passed in. If you use the variable1 argument without the [?result] argument, variable1 must be a SecureLogin variable (either ?variable1 or $variable1). Otherwise, variable1 can be any numeric value.

The multiplier. The second argument. The number that the first number will be multiplied by. Variable2 can be a SecureLogin variable or a numeric value.

Optional. The product or result of the equation.

See Add , Subtract , and Divide .

Example:

Multiply 6 2 ?res 
#?res will now be 12
Set ?res2 3
Multiply ?res ?res2
#?res will now be 36