Template:Format price/digits/doc

From Ava Zinn Wiki
< Template:Format price‎ | digits
Revision as of 08:52, 23 October 2022 by Aeverinezinn (talk | contribs) (Created page with "{{Documentation subpage}} 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 int...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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[edit]

{{Format price/digits|number}}

Examples[edit]

See also[edit]