Template:Format2DP

{{#ifexpr: {{#rpos:{{{1}}}|.}} = -1 |{{{1}}}.00|{{#switch: {{#expr: ({{#len:.2}}-{{#rpos:.2|.}}-1)}} }}
 * 1 = {{{1}}}0
 * 2 = {{{1}}}
 * #default = {{{1}}}