Template:Dp

From Organic Design wiki
Revision as of 23:11, 29 September 2012 by Nad (talk | contribs) (#pad now padright)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Info.svg This template sets a value to a specified number of decimal places, usage:
{{dp|2|1.234}}

Where the first parameter is the number of decimal places, and the second is the value to format.