# Rundung

Gibt die Anzahl der Dezimalstellen an, auf die eine Antwort gerundet werden soll. Dies überschreibt die standardmäßigen Präzisionseinstellungen der Zeile.

```
# Rundung auf eine bestimmte Anzahl von Dezimalstellen
1/3 auf 2 dp                     | 0.33
π auf 5 Stellen                   | 3.14159

# Rundung nach oben und unten
5.5 gerundet                     | 6
5.5 abgerundet                  | 5
5.5 aufgerundet                | 6

# Rundung auf die nächste x
37 auf die nächste 10                | 40
$490 auf die nächste hundert | $500
2,100 auf das nächste tausend       | 2,000

# Rundung nach oben und unten auf die nächste x
21 auf die nächste 5      | 25
17 auf die nächste 3    | 15
```

Oder verwenden Sie eine der folgenden Funktionen:

| Funktion | Name                | Verhalten                                              |
| -------- | ------------------- | ------------------------------------------------------ |
| round()  | Ganzzahlige Rundung | Rundet eine Zahl auf die nächste ganze Zahl            |
| ceil()   | Aufrunden           | Rundet eine Zahl auf die nächste ganze Zahl nach oben  |
| floor()  | Abrunden            | Rundet eine Zahl auf die nächste ganze Zahl nach unten |


---

# Agent Instructions: 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://documentation.soulver.app/de/syntax-referenz/general/number-rounding.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.
