Extensions.Math.Ln
Jump to navigation
Jump to search
Contents
Classification
Name | Ln |
Short Description | Natural logarithm of a given number |
Class | Term |
Extension | OTX Math Extension |
Group | Math related Actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm Math.Ln(NumericTerm numeral);
Description
The Ln term is used for calculating the natural logarithm of a given number.
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 | Result of the calculation of the natural logarithm of a number |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Numeral | Numeric | Term | - | [1] | The numerical value (of type Integer or Float), where the logarithm is calculated. |
OTL Examples
/// Local Declarations
Float Float1;
/// Flow
Float1 = Math.Ln(2);