Andoza:Round

Vikipediya, ochiq ensiklopediya
Documentation icon Andoza hujjati[koʻrib chiqish] [tahrirlash] [tarix] [yangilash]
  • {{Andoza:Rnd}}

Usage[manbasini tahrirlash]

This template rounds parameter 1 by parameter 2 decimal places (goes the other way for negative rounding) and includes trailing zeros.

  • {{Round|54.376|2}}
  • {{Round|54.376|-1}}
  • {{Round|68.4273E12|-10}}

TemplateData[manbasini tahrirlash]

Tavsif yoʻq.

Andoza parametrlari[„TemplateData“ni boshqarish]

ParametrTavsifTuriStatus
number1

The number to be rounded

Sonrequired
decimal places2

The number of decimal places, if negative the number is rounded so the last (parameter 2) digits are zero

Sonrequired