AVRUND

Microsoft Office Installer

AVRUND

Noe av innholdet i dette emnet gjelder kanskje ikke alle språk.

Avrunder et tall til et angitt antall sifre.

Syntaks

AVRUND(tall;antall_sifre)

Tall    er tallet du vil avrunde.

Antall_sifre    angir hvor mange sifre du vil runde av tall til.

Obs!

  • Hvis antall_sifre er større enn 0, avrundes tall til det angitte antallet desimaler.
  • Hvis antall_sifre er 0, avrundes tall til det nærmeste heltallet.
  • Hvis antall_sifre er mindre enn 0, avrundes tall til venstre for desimaltegnet.

Eksempel

Formel Beskrivelse (Resultat)
=AVRUND(2,15; 1) Avrunder 2,15 til én desimalplass (2,2)
=AVRUND(2,149; 1) Avrunder 2,149 til én desimalplass (2,1)
=AVRUND(-1,475; 2) Avrunder -1,475 til to desimalplasser (-1,48)
=AVRUND(21,5; -1) Avrunder 21,5 til én desimalplass til venstre for desimaltegnet (20)