Documentation/Calc Functions/GULV.PRÆCIS

    From The Document Foundation Wiki
    This page is a translated version of the page Documentation/Calc Functions/FLOOR.PRECISE and the translation is 12% complete.
    Outdated translations are marked like this.


    Funktionsnavn:

    GULV.PRÆCIS

    Kategori:

    Matematisk

    Resume:

    Afrunder et tal til det nærmeste multiplum af en signifikans-værdi.

    Syntaks:

    GULV.PRÆCIS(Number [; Significance])

    Returnerer:

    Returnerer en heltalsværdi.

    Argumenter:

    Tallet er det tal, som skal afrundes, eller en reference til en celle, der indeholder tallet.

    Signifikans (valgfri) er værdienN, eller en reference til en celle, der indeholder den værdi, som tallet skal afrundes til et multiplum af. Dens standard er 1.

    • If either argument is non-numeric, then GULV.PRÆCIS reports a #VÆRDI! error.
    • If either Number or Significance is equal to 0, then GULV.PRÆCIS returns 0.

    Yderligere oplysninger:

    General information about Calc's floor functions

    Note pin.svg

    Bemærk:
    For convenience, the information in this subsection is repeated on all pages describing Calc’s floor functions.

    General introductory information about floor functions can be found at Wikipedia's Floor and ceiling functions page.

    Calc provides four functions that can be used to calculate the floor value of a number, and these are:

    The most important of these for many users will be the AFRUND.GULV function, which implements the requirements laid out in Section 6.17.3 of ODF 1.2, Part 2.

    Calc provides the GULV.MAT, and GULV.PRÆCIS functions to increase interoperability with Microsoft Excel, which provides two similar functions with the same names.

    Microsoft Excel's AFRUND.GULV function accepts two arguments and so is not compliant with ODF 1.2. This difference in behaviour could lead to interoperability problems but these are avoided through the provision of the GULV.XCL function, as follows:

    • When Calc saves a spreadsheet to Excel 2007-365 (*.xlsx) format, any call to Calc's AFRUND.GULV function is converted to a call to Excel's GULV.MAT function, and any call to Calc's GULV.XCL function is converted to a call to Excel's AFRUND.GULV function.
    • When Calc opens a spreadsheet in Excel 2007-365 (*.xlsx) format, any call to Excel's AFRUND.GULV function is converted to a call to Calc's GULV.XCL function.

    Eksempler:

    Formel Beskrivelse Returnerer
    =GULV.PRÆCIS(11,5) Significance defaults to 1. The function rounds down 11.5 to the nearest integer multiple of 1. 11
    =GULV.PRÆCIS(−11,5) Significance defaults to 1. The function rounds down -11.5 to the nearest integer multiple of 1. −12
    =GULV.PRÆCIS(7; 2,3) The function rounds down 7 to the nearest integer multiple of 2.3. 6,9
    =GULV.PRÆCIS(−7; −2,3) The function rounds down -7 to the nearest integer multiple of 2.3 (the sign of the significance value is ignored). −9,2
    =GULV.PRÆCIS(D1; D2) where cells D1 and D2 contain the numbers 10 and 3 respectively. The function rounds down the value 10 to the nearest integer multiple of 3. 9

    Beslægtede LibreOffice-funktioner:

    AFRUND.LOFT

    LOFT.MATEMATIK

    LOFT.PRECISE

    LOFT.XCL

    AFRUND.GULV

    GULV.MAT

    GULV.XCL

    HELTAL

    ISO.LOFT

    ODF standard:

    Ingen

    Relaterede (eller lignende) Excel-funktioner:

    FLOOR.PRECISE since v.2010.