Difference between revisions of "Template:Format price/digits"

From blackwiki
Jump to navigation Jump to search
test>Courcelles
m (Protected Template:Format price/digits: Restore prior protection ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
test>AGK
m (Changed protection level of Template:Format price/digits: Highly-visible template (over 1000 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
(No difference)

Revision as of 10:22, 23 April 2012

1

50px Template documentation[view] [edit] [history] [purge]

This sub-template takes a number and reformats it to only 3 digits and a dot (if needed), provided it's in the 0–999.9999..... range. It's used internally by {{Format price}} for producing pleasant looking numbers, and isn't meant to be called directly. Its behavior outside the specified range isn't planned for and will result in an undefined, although probably consistent (in some way), result.

Usage

{{Format price/digits|number}}

Examples

See also