Lasso Soft Inc. > Home

[Math_Cos]

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

  • Syntax
  • Parameters
[Math_Cos: Decimal Value]
Required Parameters
Decimal Radians The value on which to operate.
Examples

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]
Result:
-1
Tag Link [Math_Cos] Category Math
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Decimal Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, 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