Difference between revisions of "NL/Documentation/How Tos/Calc: functie AFRONDEN"
From Apache OpenOffice Wiki
< NL | Documentation | How Tos
m (→Zie ook:) |
m |
||
Line 2: | Line 2: | ||
== AFRONDEN == | == AFRONDEN == | ||
− | + | Rond een getal af met een bepaalde precisie. | |
=== Syntaxis: === | === Syntaxis: === | ||
Line 8: | Line 8: | ||
: geeft <tt>'''getal'''</tt> terug, afgerond tot <tt>'''aantal'''</tt> plaatsen achter de komma. Als <tt>'''aantal'''</tt> wordt weggelaten of nul is, rondt de functie af naar het dichtstbijzijnde gehele getal. Als <tt>'''aantal'''</tt> negatief is, rondt de functie af naar de dichtstbijzijnde <tt>'''10'''</tt>, <tt>'''100'''</tt>, <tt>'''1000'''</tt>, etc. | : geeft <tt>'''getal'''</tt> terug, afgerond tot <tt>'''aantal'''</tt> plaatsen achter de komma. Als <tt>'''aantal'''</tt> wordt weggelaten of nul is, rondt de functie af naar het dichtstbijzijnde gehele getal. Als <tt>'''aantal'''</tt> negatief is, rondt de functie af naar de dichtstbijzijnde <tt>'''10'''</tt>, <tt>'''100'''</tt>, <tt>'''1000'''</tt>, etc. | ||
− | : Deze functie rondt af naar het dichtstbijzijnde getal. Zie '''[[Documentation | + | : Deze functie rondt af naar het dichtstbijzijnde getal. Zie '''[[NL/Documentation/How_Tos/Calc: functie AFRONDEN.NAAR.BENEDEN|AFRONDEN.NAAR.BENEDEN]]''' en '''[[NL/Documentation/How_Tos/Calc: functie AFRONDEN.NAAR.BOVEN|AFRONDEN.NAAR.BOVEN]]''' voor alternatieven. |
=== Voorbeeld: === | === Voorbeeld: === | ||
Line 23: | Line 23: | ||
: geeft <tt>'''1000'''</tt> terug | : geeft <tt>'''1000'''</tt> terug | ||
− | Als dit voorbeeld niet lijkt te werken, kijk dan onder | + | Als dit voorbeeld niet lijkt te werken, kijk dan onder {{menu|Extra|Opties|OpenOffice Calc|Berekenen}} om de weergave van de precisie te controleren. |
{{NL/Documentation/ZieOok| | {{NL/Documentation/ZieOok| | ||
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie GEH.GET.|GEH.GET.]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie GEHEEL|GEHEEL]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie AFRONDEN.NAAR.BENEDEN|AFRONDEN.NAAR.BENEDEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie AFRONDEN.NAAR.BOVEN|AFRONDEN.NAAR.BOVEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie AFRONDEN.BOVEN|AFRONDEN.BOVEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie AFRONDEN.BENEDEN|AFRONDEN.BENEDEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie EVEN|EVEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie ONEVEN|ONEVEN]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: functie AFRONDEN.N.VEELVOUD|AFRONDEN.N.VEELVOUD]] |
− | * [[Documentation | + | * [[NL/Documentation/How_Tos/Calc: Wiskundige functies|Wiskundige functies]] |
* [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']] | * [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']] | ||
* [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}} | * [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}} | ||
[[Category: NL/Documentation/Reference/Calc]] | [[Category: NL/Documentation/Reference/Calc]] |
Latest revision as of 11:41, 27 January 2024
AFRONDEN
Rond een getal af met een bepaalde precisie.
Syntaxis:
AFRONDEN(getal; aantal)
- geeft getal terug, afgerond tot aantal plaatsen achter de komma. Als aantal wordt weggelaten of nul is, rondt de functie af naar het dichtstbijzijnde gehele getal. Als aantal negatief is, rondt de functie af naar de dichtstbijzijnde 10, 100, 1000, etc.
- Deze functie rondt af naar het dichtstbijzijnde getal. Zie AFRONDEN.NAAR.BENEDEN en AFRONDEN.NAAR.BOVEN voor alternatieven.
Voorbeeld:
AFRONDEN(2,348; 2)
- geeft 2,35 terug
AFRONDEN(2,348; 0)
- geeft 2 terug
AFRONDEN(2,5)
- geeft 3 terug
AFRONDEN(987,65; -2)
- geeft 1000 terug
Als dit voorbeeld niet lijkt te werken, kijk dan onder {{#if: Extra |Extra}}{{#if: Opties | → Opties}}{{#if: OpenOffice Calc | → OpenOffice Calc}}{{#if: Berekenen | → Berekenen}}{{#if: | → {{{5}}}}}{{#if: | → {{{6}}}}}{{#if: | → {{{7}}}}}{{#if: | → {{{8}}}}}{{#if: | → {{{9}}}}}{{#if: | → {{{10}}}}} om de weergave van de precisie te controleren.
Zie ook