-
sign
To return the signum of a number You can use the function to determine the sign of a number. The return value is either 1 (positive number) or -1 (negative number).…
-
sin
To calculate the sine The function can be used to determine the sine of a number. The result is a numeric value between -1 and 1. Syntax sin(number) Return number Examples sin(x) To calculate the…
-
sleep
To force Ninox to wait for a given number of milliseconds before continue running the code With this function, you can put Ninox on hold before continuing to execute your script.…
-
slice
To extract a subrange from a string or array This function helps you to extract a partial range of an array and transfer it to a new array. You define the part you want to extract by a start and an…
-
sort
To sort values in ascending order This function helps you to sort values in ascending order.
You can pass any number of parameters. Requirement: They have the same data type.…
-
split
To split a string into an array at each separator This function will split a string into single components. These components are assembled into an array.…
-
splitx
To split a string into an array by using a regular expression This function will split a string into single components using a regular expression. These components are assembled into an array.…
-
sqr
To calculate the square The function squares a number, i.e. multiplies it by itself. The result is always positive. Syntax sqr(number) Return number Examples sqr(x) To calculate the square of a…
-
sqrt
To calculate the square root Use the function to find the square root of a positive number.
If the number has a negative sign, use the function abs() for example to convert it to a positive number…
-
start
To return the start timestamp of a given appointment With this function, you can address the start of an appointment. The function will return the date + time of the appointment,…
-
string
To convert a given value to a string This function will return the data of a field or an array as text. It’s a bit like the function concat(). If you use this function on a multiple-choice field,…
-
styled
To convert a given string to a styled object With this function, you can style a formula field with colors (for example the background) but also with an additional icon.…
-
substr
To return a new string out of a given text This function extracts a part of a text according to your specifications. You need to provide the start position,…
-
substring
To return a new string out of a given text with a given start and a given end This function extracts a part of a text according to your specifications. You need to provide the start position,…
-
sum
To return the total sum of a number array With the function, you can calculate the mathematical sum of numeric values from an array or a table. For example,…
-
tableId
To return the ID of a table With this function, you'll find out the internal identifier of the current table. This ID consists of at least 1 capital letter. It starts with A.…
-
tan
To calculate the tangent The function returns the tangent of an angle. Syntax tan(number) Return number Examples tan(x) To calculate the tangent of a number x. tan(1) Result: 1.5574077246549023 tan(1.…
-
teamId
To return the ID of the current workspace This function returns the ID of the workspace you are in. You might need this in your REST API. Syntax teamId() Return string Examples teamId() Result:…
-
testx
To check if a text has matches with a given regular expression This function does the same as contains(): it checks a text for the occurrence of a certain string.…
-
text
To convert a value to a string and possibly reflect the format options With this function, you can convert almost any data type at Ninox to a text value.…
-
Text
An overview of text-related functions capitalize To capitalize the first letter of each word chosen To return Yes (true) if the given value equals a given selection concat To return all items of an…
-
time
To return the current time With this function, you can return the current time or set a time. You can use this function for calculations with other time-related data types.…
-
timeinterval
To convert a given time-related value to a time interval, i.e. a duration To convert a given time-related value to a time interval, i.e. a duration. If the value is a number,…
-
timestamp
To convert a given time-related value to a timestamp With this function, you will convert a time-related value to a UTC-based timestamp. If you use a value without time,…
-
today
To return the current date (without time) Here you can determine the current date, i.e. the respective day on which the function is executed. Therefore,…