Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:PP2EUR"

From Paragon Wiki Archive
Jump to: navigation, search
(Created page with "<includeonly>{{Decimals|{{#expr:(({{{2}}} * 1.2)/100)}}|2}}</includeonly><noinclude>{{Documentation|content= Converts a price in Paragon Points into Euros. Template output do...")
 
(split documentation to subpage)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Decimals|{{#expr:(({{{2}}} * 1.2)/100)}}|2}}</includeonly><noinclude>{{Documentation|content=
+
<includeonly>{{#replace:{{Decimals|{{#expr:{{{1}}} * .00996}}|2}}|.|,}}</includeonly><noinclude>{{Documentation}}</noinclude>
Converts a price in [[Paragon Points]] into Euros. Template output does not include the EURO sign. Examples:
+
* <nowiki>€{{PP2EUR|40}}</nowiki> yields €{{PP2EUR|40}}
+
* <nowiki>{{PP2EUR|1200}}</nowiki> yields €{{PP2EUR|1200}}
+
}}</noinclude>
+

Latest revision as of 12:38, 5 July 2012

[edit] [purge] Documentation

Usage

Converts a price in Paragon Points into Euros. Template output does not include the Euro symbol. Examples:

  • €{{PP2EUR|40}} yields €0,40
  • €{{PP2EUR|1200}} yields €11,95

See also