LassoScript Utility
Basics Browse Detail


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


[Math_Cos] returns the cosine of a single decimal parameter specified in radians. Returns a decimal value between -1 and 1.


[Math_CosDecimal Value]


Required Parameters
Decimal Radians The value on which to operate.


To calculate the cosine of a number:

Use the [Math_Cos] tag. The following example calculates the cosine of 3.1415926 which is approximately Pi. The result is -1.

[Math_Cos: 3.1415926]