Cithakan:Rnd/-

Saka Wikipédia Jawa, bauwarna mardika basa Jawa
Loncat ke navigasi Loncat ke pencarian
Dhokumèntasi cithakan[deleng] [besut] [sujarah] [buwang]

This subtemplate of {{rnd}} adds trailing zeros. It takes two parameters.

  1. the number to be displayed
  2. the number of significant figures to be displayed after the decimal point

It's used by Template:rnd (backlinks, edit).

  • "{{#expr:2.0004 round 3}}" gives "2" [1]
  • "{{rnd|2.0004|3}}" gives "2,000" [2]

It's also used by Template:rndnear (backlinks, edit) and Template:rndpad (backlinks, edit).