Difference between revisions of "Template:BAM card/resell"

From Yugipedia
Jump to: navigation, search
(instead of multiplying by 10 and dividing by 2, why not just multiply by 5?)
(Get this to round to the nearest, rather than round up.)
Line 6: Line 6:
 
     | CP      = [[Resell price::{{ #expr: {{{2}}} * 100 }}]]
 
     | CP      = [[Resell price::{{ #expr: {{{2}}} * 100 }}]]
 
     | DP      = [[Resell price::{{ #expr: {{{2}}} * 2000 }}]]
 
     | DP      = [[Resell price::{{ #expr: {{{2}}} * 2000 }}]]
     | #default = [[Resell price::{{ #expr: 5*ceil({{{2}}}/10) }}]]
+
     | #default = [[Resell price::{{ #expr: 5*({{{2}}}/10 round 0) }}]]
 
     }}
 
     }}
 
   }}
 
   }}
 
}}
 
}}

Revision as of 19:36, 3 October 2013

Coins: