Documentation/Calc Functions/LOFT.PRECISE
Jump to navigation
Jump to search
Outdated translations are marked like this.
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Template:Documentation/Calc Functions/Func Page Links/da
LOFT.PRECISE
Kategori:
Matematisk
Resume:
Afrunder et tal til det nærmeste multiplum af en signifikant værdi.
Syntaks:
LOFT.PRECISE(Number [; Significance])
Returnerer:
Returnerer en heltalsværdi.
Argumenter:
Tal (obligatorisk) er det reelle tal, som skal afrundes, eller en reference til en celle, der indeholder tallet.
Signifikans (valgfri) er den reelle talværdi, eller en reference til en celle, der indeholder den værdi, som tallet skal afrundes til et multiplum af. Dens fortegn ignoreres.
- If either argument is non-numeric, then LOFT.PRECISE reports a #VALUE! error.
- If either Number or Significance is equal to 0, then LOFT.PRECISE returns 0.
Yderligere oplysninger:
Template:Documentation/Calc Functions/ceiling functions information/da
Eksempler:
Template:Calc-Formula/da | Template:Calc-Description/da | Template:Calc-Returns/da |
---|---|---|
=LOFT.PRECISE(11,5) | Significance defaults to 1. The function rounds up 11.5 to the nearest integer multiple of 1. | 12 |
=LOFT.PRECISE(-11,5) | Significance defaults to 1. The function rounds up -11.5 to the nearest integer multiple of 1. | -11 |
=LOFT.PRECISE(7; 2,3) | The function rounds up 7 to the nearest integer multiple of 2.3. | 9,2 |
=LOFT.PRECISE(-7; -2,3) | The function rounds up -7 to the nearest integer multiple of 2.3 (the sign of the significance value is ignored). | -6,9 |
=LOFT.PRECISE(D1; D2) where cells D1 and D2 contain the numbers 10 and 3 respectively. | The function rounds up the value 10 to the nearest integer multiple of 3. | 12 |
Beslægtede LibreOffice-funktioner:
ODF standard:
Ingen
Tilsvarende Excel-funktioner:
LOFT.PRECISE