Lasso Soft Inc. > Home

[ integer->* ]

Method

* 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 for Lasso versions before Lasso 9: 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)).

  • Syntax
left parameter * right parameter
Examples
  • Beginner

To perform integer multiplication

Code

10 * 2

Result

20

To perform decimal multiplication

Code

10 * 2.0

Result

20.000000

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft