round (Q71773)

From MaRDI portal





Rounding to Decimal Digits
Language Label Description Also known as
default for all languages
No label defined
    English
    round
    Rounding to Decimal Digits

      Statements

      0 references
      0.20-0
      5 January 2021
      0 references
      0.12-1
      24 January 2020
      0 references
      0.12-2
      7 July 2020
      0 references
      0.21-0.1
      7 December 2023
      0 references
      0.21-0
      12 October 2023
      0 references
      0.21-0.2
      10 January 2024
      0 references
      0 references
      10 January 2024
      0 references
      Decimal rounding is non-trivial in binary arithmetic. ISO standard round to even is more rare than typically assumed as most decimal fractions are not exactly representable in binary. Our 'roundX()' versions explore differences between current and potential future versions of round() in R. Further, provides (some partly related) C99 math lib functions not in base R.
      0 references
      0 references
      0 references

      Identifiers

      0 references