Lasso Soft Inc. > Home

[Math_Mult]

[Math_Mult] returns the result of multiplying each of multiple parameters in order from left to right. Each parameter is cast to an integer or decimal value. The result is an integer if all the parameters were integers or a decimal otherwise.

Equivalent to performing a series of operations using the * symbol except that the values passed in to the [Math_Mult] tag are automatically cast to numeric values.

  • Syntax
  • Parameters
[Math_Mult: Integer or Decimal Values]
Required Parameters
Integer or Decimal Values Starting from the left, each successive value will be multiplied to generate the final result.
Examples

To multiply several values:

Use the [Math_Mult] tag. The following example multiplies a series of values and returns the result.

[Math_Mult: 5, 4, 3, 2, 1]
Result:
120
Tag Link [Math_Mult] Category Math
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Decimal or Integer Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x

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