---
title: "irint (Opus Funktion)"
---
### Beschreibung

Rundet eine Zahl nach kaufmännischen  Regeln und gibt das Resultat als [integer](../../standard-datentypen/integer.md) zurück

Ist die Ziffer an der ersten  Dezimalstelle eine 0, 1, 2, 3 oder 4, dann wird abgerundet.

Ist die Ziffer an der ersten  Dezimalstelle eine 5, 6, 7, 8 oder 9, dann wird aufgerundet.

Negative Zahlen werden nach ihrem Betrag gerundet, bei einer 5 also weg von 0.

### Argumente

| Name | Typ | Beschreibung |
| --- | --- | --- |
|  | [float](http://manuals.swissmains.com/display/smtschool/float) integer | Beliebige Zahl |

### Rückgabewert [integer](../../standard-datentypen/integer.md)

Kaufmännische Rundung als ganzzahliger Wert.

### Beispiel

```
Result = irint(3.856);
Result = irint(3.4);
Result = irint(-3.4);
Result = irint(-3.5);
```

### Siehe auch

[aint](aint-opus-funktion.md)

[anint](anint-opus-funktion.md)

[nint](nint-opus-funktion.md)

[rint](rint-opus-funktion.md)
