Ir para o conteúdo principal
CloudStudio

Functions

Functions allow obtaining values through the transformation of others. The following is a list of functions divided into categories, according to their typical use.

Mathematical functions

FunctionComments
CelsiusToFahrenheitConverts a temperature in degrees Celsius to degrees Fahrenheit.
FahrenheitToCelsiusConverts a temperature in degrees Fahrenheit to degrees Celsius.
MaxReturns the maximum value among a series of values.
MinReturns the minimum value among a series of values.
PowerReturns the result of raising a given number to a given power.
RoundRounds a number to the specified number of decimal places.
SqrtCalculates the square root of a number.
TruncTruncates a number, removing the fractional part.

String handling functions

FunctionComments
LowerCaseConverts all characters in a string to lowercase.
StringCleanCleans a string by removing all unwanted characters.
StringPartReturns a part of a string that contains sub-strings.
UpperCaseConverts all characters in a string to uppercase.

Interpolation functions

FunctionComments
LinearInterpolationPerforms a linear interpolation between a series of given points.

JSON handling functions

FunctionComments
JsonFieldGets the value of a field within a text expressed in JSON format.

Other functions

FunctionComments
ErrorGenerates an error condition containing the specified message.
HexToNumberConverts a number in hexadecimal format (string) to a number.
IfReturns a value, between two given values, based on a condition.
ToBooleanConverts a value of any type to boolean.
ToNumberConverts a value of any type to numeric.
ToStringConverts a value of any type to string.

Última atualização em

Nesta página