LassoScript Utility
Basics Browse Detail

[Math_Pow]

Tag Link [Math_Pow] Category Math
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type Decimal or Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

[Math_Pow] returns the base raised to the exponent. Requires two parameters: a base and an exponent.

Syntax

[Math_PowDecimal ValueDecimal Value]

Parameters

Required Parameters
Base Value The value which is to be raised to the exponent.
Exponent Value The exponent to which to raise the base value.

Examples

To raise a decimal value to an exponent:

Use the [Math_Pow] tag. The following example calculates the value of 1000 raised to the power of 2.

[Math_Pow: 1000, 2]

1000000