Extensions.Math.Cos
Jump to navigation
Jump to search
Contents
Classification
Name | Cos |
Short Description | Cosine of the given angle (in radians) |
Class | Term |
Extension | OTX Math Extension |
Group | Math related Actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm Math.Cos(NumericTerm rad);
Description
The Cos term is used for calculating the cosine of a given angle (in radians).
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Float | Cosine of the given angle (in radians) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Rad | Numeric | Term | - | [1] | Represents the angle from which the cosine will be calculated (radian interpretation). |
OTL Examples
/// Local Declarations
Float Float1;
/// Flow
Float1 = Math.Cos(45);