Jagged85@legacy41984489 (talk | contribs) |
BritishCynic (talk | contribs) m (Protected "Template:Format price" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> |
||
⚫ | |||
+ | {{Pp-template|small=yes}} |
||
⚫ | |||
#ifexpr:({{{1}}} >= 1E+27) |
#ifexpr:({{{1}}} >= 1E+27) |
||
| {{formatnum:{{Format price/digits|{{#expr:{{{1}}} / 1E+27}}}}}} octillion}}{{ |
| {{formatnum:{{Format price/digits|{{#expr:{{{1}}} / 1E+27}}}}}} octillion}}{{ |
||
Line 21: | Line 23: | ||
| {{formatnum:{{#expr:{{{1}}} round {{{2|2}}}}}}}{{#ifexpr:(({{{2|2}}} = 1) or ({{{2|2}}} = 2))|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 100) = 0)|.00|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 10) = 0)|0}}}}}}}}{{ |
| {{formatnum:{{#expr:{{{1}}} round {{{2|2}}}}}}}{{#ifexpr:(({{{2|2}}} = 1) or ({{{2|2}}} = 2))|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 100) = 0)|.00|{{#ifexpr:(((({{{1}}} round {{{2|2}}})*100) mod 10) = 0)|0}}}}}}}}{{ |
||
#ifexpr:({{{1}}} < 0)|[[NaN]]}}|[[NaN]]}}<noinclude> |
#ifexpr:({{{1}}} < 0)|[[NaN]]}}|[[NaN]]}}<noinclude> |
||
− | {{ |
+ | {{Documentation}} |
+ | [[Category:Function templates]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 14:19, 19 October 2018
This high-risk template has been fully protected from editing to prevent vandalism. (protection log). If you are unable to edit this page but wish to make a change, please suggest it on the talk page. |
NaN
Template documentation (for the template shown above, sometimes hidden or invisible)
Template:Format price/doc
Visit Template:Format price/doc to edit this text! (How does this work?)