Template:Format price/digits

被永久保护的模板
维基百科,自由的百科全书

1

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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.

用法

{{Format price/digits|number}}

範例

參見