LassoScript Utility
Basics Browse Detail

[Math_Sqrt]

Tag Link [Math_Sqrt] 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_Sqrt] returns the square root of a single decimal parameter.

Syntax

[Math_SqrtDecimal Value]

Parameters

Required Parameters
Integer or Decimal Value The value for which the square root should be returned.

Examples

To return the square root of a number:

Use the [Math_Sqrt] tag. The following example returns the square root of one milliion.

[Math_Sqrt: 1000000]

1000