<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="floor-ceil" lang="de">

    <info>
        <link type="guide" xref="index#equation"/>
    <credit type="translator copyright"><name>Jan Arne Petersen</name><email>jap@gnome.org</email><years>2007</years></credit><credit type="translator copyright"><name>Christian Kirbach</name><email>Christian.Kirbach@googlemail.com</email><years>2008,2009,2010,2014,2015,2017,2021,2025</years></credit><credit type="translator copyright"><name>Mario Blättermann</name><email>mario.blaettermann@gmail.com</email><years>2012, 2013, 2020</years></credit><credit type="translator copyright"><name>Jakob Kramer</name><email>jakob.kramer@gmx.de</email><years>2010</years></credit><credit type="translator copyright"><name>Tim Sabsch</name><email>tim@sabsch.com</email><years>2018</years></credit><credit type="translator copyright"><name>Jürgen Benvenuti</name><email>gastornis@posteo.org</email><years>2023</years></credit></info>

	<title>Runden</title>

    <p>
    Nearest integer values tying away from zero are calculated using the [ and ] symbols or round <link xref="function">function</link>.
    </p>
    <example>
    <p>[0.5]</p>
    <p>round (0.5)</p>
    </example>

    <p>
    Nearest integer values toward -∞ also known as floor values are calculated using the ⌊ and ⌋ symbols or floor <link xref="function">function</link>.
    </p>
    <example>
    <p>
    ⌊0.5⌋
    </p>
    <p>floor (0.5)</p>
    </example>

    <p>
    Nearest integer values toward +∞ also known as ceiling values are calculated using the ⌈ and ⌉ symbols or ceil <link xref="function">function</link>.
    </p>
    <example>
    <p>
    ⌈0.5⌉
    </p>
    <p>ceil (0.5)</p>
    </example>

    <p>
    Nearest integer values toward 0 i.e. the integer components are calculated using int <link xref="function">function</link>.
    </p>
    <p>
    The fractional components are calculated using frac <link xref="function">function</link>.
    </p>
    <example>
    <p>int (0.5)</p>
    <p>frac (0.5)</p>
    </example>
</page>
