> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/acron-9.3/en/intro/datentypen.md).

# Data types

Arguments and return values in functions, operands, constants and variables essentially have one data type in the Formula Editor.

The Formula Editor knows the following Data types:

* BOOL
* NUMBER
* STRING
* DATETIME

When you pass arguments to a function, or link operands to an operator, the data types of the data you provide as an argument or operator must match the expected data types.

If this is not the case, the Formula Editor displays an error message. In such cases you must try to convert the data type of the argument or operator. Various functions are available to you for this. The [DateToNum](/acron-9.3/en/intro/funktionen/funk_datum.md#func_datetonum) function converts a date/time value into a number, for example, which you can then pass to the mathematical functions as an argument.

## The data type "BOOL"

Values of the data type "BOOL" contain the logical states TRUE or FALSE.

This data type usually the results of a constraint or a logical operator

If the condition is met, the result is TRUE, otherwise FALSE.

## The data type "STRING"

The data type String contains a random character string. This string may contain letters, numbers and special characters.

Values with the data type String must be enclosed in quotation marks ("") to differentiate them from function and variable names.

## The data type "DATETIME"

Values of the data type "DATETIME" contain the date and time in encoded form, in seconds since 1/1/1970.

If you want to further process the date/time values with mathematical functions or use them in comparisons or constraints with normal numbers, you must convert the date/time value to a normal number using the [DateToNum](/acron-9.3/en/intro/funktionen/funk_datum.md#func_datetonum) function.

## The data type "NUMBER"

A value of the data type "NUMBER" is a character string consisting only of the characters 0, 1,..., 9, e, x, the point and the preceding signs + and -; no other characters are allowed.

Numbers are used for calculations and constraints.

You can enter numbers as simple floating point numbers, in scientific notation or in hexadecimal notation. Hexadecimal numbers must begin with the characters 0x.

Examples of numbers:

* 1.256
* -1.256
* 25e-12
* 0x0101A0


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/acron-9.3/en/intro/datentypen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
