LassoScript Utility
Basics Browse Detail

* Multiplication (Repetition)

Tag Link * Multiplication (Repetition) Category Symbol
Type Symbol Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String, Decimal, or Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0


* multiplies the value of the right parameter by the value of the left parameter and returns the resulting value.

This symbol performs mathematical multiplication if both parameters contain decimal or integer values. The result will be a decimal if either parameter is a decimal value.

This symbol repeats a string if the left parameter is a string and the right parameter is an integer value. The return value is the string repeated the specified number of times.

Note: If the parameter on the right hand side of the symbol is a negative literal it should be surrounded by parentheses. For example, (4 * (-1)).


[Output: Left_Parameter * Right_Parameter]

Output: Left_Parameter * Right_Parameter;

[Variable: 'Result'=Left_Parameter * Right_Parameter]

(Variable: 'Result') = Left_Parameter * Right_Parameter;

$Result = Left_Parameter * Right_Parameter;


Required Parameters
Left_Parameter The value to be multiplied.
Right_Parameter The value to be multiplied.


To output the product of two values:

Use the multiplication symbol *. The following example outputs the result of multiplying 10 and 5.

[Output: 10 * 5]