Documentation/Calc Functions/GULV.XCL
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Template:Documentation/Calc Functions/Func Page Links/da
GULV.XCL
Kategori:
Matematisk
Resume:
Afrunder et tal til det nærmeste multiplum af en signifikant værdi.
Syntaks:
GULV.XCL(Number; Significance)
Returnerer:
Returnerer en heltalsværdi.
Argumenter:
Tal (obligatorisk) er det tal, som skal afrundes, eller en reference til en celle, der indeholder tallet.
Signifikans (valgfri) er den værdi, eller en reference til en celle, der indeholder den værdi, som tallet skal afrundes til et multiplum af.
Hvis tallet er positivt og signifikans er negativ, returnerer den en fejlværdi.
The signs of the Number and Significance arguments define the direction of rounding as defined in the following table.
Sign of Number | Sign of Significance | Direction of rounding |
---|---|---|
+ve (>0) | +ve (>0) | Down (toward -∞) |
+ve (>0) | -ve (<0) | N/A (error condition) |
-ve (<0) | +ve (>0) | Down (toward -∞) |
-ve (<0) | -ve (<0) | Up (toward +∞) |
Yderligere oplysninger:
Template:Documentation/Calc Functions/floor functions information/da
Eksempler:
Template:Calc-Formula/da | Template:Calc-Description/da | Template:Calc-Returns/da |
---|---|---|
=GULV.XCL(34,5; 4,5) | Rounds down 34.5 to the nearest integer multiple of 4.5. | 31,5 |
=GULV.XCL(D1; D2) where cells D1 and D2 contain the values -45.67 and 2 respectively. | Rounds down -45.67 to to the nearest integer multiple of 2. | -46 |
=GULV.XCL(-45,67; -2) | Rounds up -45.67 to the nearest integer multiple of 2. | -44 |
Beslægtede LibreOffice-funktioner:
ODF standard:
INGEN
Tilsvarende Excel-funktioner:
AFRUND.GULV