Funktionen
Funktionen ermöglichen das Erhalten von Werten durch die Transformation anderer Werte. Im Folgenden finden Sie eine Liste von Funktionen, die nach Kategorien entsprechend ihrer typischen Verwendung unterteilt sind.
Mathematische Funktionen
| Function | Comments |
|---|---|
| CelsiusToFahrenheit | Converts a temperature in degrees Celsius to degrees Fahrenheit. |
| FahrenheitToCelsius | Converts a temperature in degrees Fahrenheit to degrees Celsius. |
| Max | Returns the maximum value among a series of values. |
| Min | Returns the minimum value among a series of values. |
| Power | Returns the result of raising a given number to a given power. |
| Round | Rounds a number to the specified number of decimal places. |
| Sqrt | Calculates the square root of a number. |
| Trunc | Truncates a number, removing the fractional part. |
Funktionen zur String-Verarbeitung
| Function | Comments |
|---|---|
| LowerCase | Converts all characters in a string to lowercase. |
| StringClean | Cleans a string by removing all unwanted characters. |
| StringPart | Returns a part of a string that contains sub-strings. |
| UpperCase | Converts all characters in a string to uppercase. |
Interpolationsfunktionen
| Function | Comments |
|---|---|
| LinearInterpolation | Performs a linear interpolation between a series of given points. |
Funktionen zur JSON-Verarbeitung
| Function | Comments |
|---|---|
| JsonField | Gets the value of a field within a text expressed in JSON format. |
Weitere Funktionen
| Function | Comments |
|---|---|
| Error | Generates an error condition containing the specified message. |
| HexToNumber | Converts a number in hexadecimal format (string) to a number. |
| If | Returns a value, between two given values, based on a condition. |
| ToBoolean | Converts a value of any type to boolean. |
| ToNumber | Converts a value of any type to numeric. |
| ToString | Converts a value of any type to string. |
Relationale Operatoren
Relationale Operatoren werden in Vergleichsoperationen angewendet, und das Ergebnis ihrer Anwendung ist immer ein boolescher Wert (true / false).
Mathematische Funktionen
Mathematical functions available in the expression engine, including temperature conversion, min/max, power, round, square root, and truncation.