Documentation/Calc Functions/LOFT.PRECISE

From The Document Foundation Wiki
Jump to navigation Jump to search
This page is a translated version of the page Documentation/Calc Functions/CEILING.PRECISE and the translation is 14% complete.
Outdated translations are marked like this.
Other languages:
English • ‎Nederlands • ‎dansk • ‎español

Template:Documentation/Calc Functions/Func Page Links/da

Funktionsnavn:

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:

AFRUND.LOFT

LOFT.MATEMATIK

LOFT.XCL

AFRUND.GULV

GULV.MAT

GULV.PRÆCIS

GULV.XCL

HELTAL

ISO.LOFT

ODF standard:

Ingen

Tilsvarende Excel-funktioner:

LOFT.PRECISE