> For the complete documentation index, see [llms.txt](https://docs.ninox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninox.com/builder-hub/de/design-your-app/add-and-edit-data-fields-in-your-tables/all-data-fields/logic-function.md).

# Logik (Function)

Speichere einen berechneten Wert aus einer Formel oder einem Skript.

Nutze ein Feld vom Typ **Logik**, wenn der Feldwert aus Logik wie einer Formel oder einem Skript kommen soll und nicht aus manueller Eingabe.

Für die allgemeinen Einstellungen, die alle Datenfelder gemeinsam haben, siehe [**Gemeinsame Feldeinstellungen**](/builder-hub/de/design-your-app/add-and-edit-data-fields-in-your-tables/all-data-fields/shared-field-settings.md).

Feldspezifische Einstellungen für **Logik** sind:

#### **Überall**

* **Logik**: speichert die Logik für das Feld

Klicke in den Einstellungen im Feld **Logik** auf <i class="fa-code-simple">:code-simple:</i>, um den [**Logik-Editor**](/ninox-scripting/de/automate-your-workflows/explore-core-scripting-elements/logic-editor-features.md) zu öffnen. Dort kannst du direkt ein Skript eingeben oder **Ninox AI** zum Erstellen nutzen.

#### **Im Formular**

**Anzeige**

* **Stil**: formatiert den Wert als **Dezimalzahl**, **Währung**, **Prozent** oder **Einheit**
* **Dezimalstellen**: steuert, wie viele Dezimalstellen Ninox anzeigt
* **Tausendertrennzeichen**: fügt das Tausendertrennzeichen hinzu oder entfernt es


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ninox.com/builder-hub/de/design-your-app/add-and-edit-data-fields-in-your-tables/all-data-fields/logic-function.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
