Difference between revisions of "Template:Dp"
From Organic Design wiki
Line 4: | Line 4: | ||
Where the first parameter is the number of decimal places, and the second is the value to format. | Where the first parameter is the number of decimal places, and the second is the value to format. | ||
}}</noinclude> | }}</noinclude> | ||
− | {{#vardefine:tmp|{{#expr:{{{2}}}+ | + | {{#vardefine:tmp|{{#expr:{{{2}}}+{{#pad:0.|{{{1}}}|0}}5}}}}{{#sub:{{#var:tmp}}|0|{{#expr:{{#pos:{{#var:x}}|.}}+{{{1}}}+1}}}} |
Revision as of 11:29, 3 August 2007
Expression error: Unrecognized punctuation character "{".