Template:Precision

{{#expr: {{#ifeq:{{{1}}}|0|0 |{{#ifexpr: {{{1}}} round -8 = {{{1}}}|-8 |{{#ifexpr: {{{1}}} round -7 = {{{1}}}|-7 |{{#ifexpr: {{{1}}} round -6 = {{{1}}}|-6 |{{#ifexpr: {{{1}}} round -5 = {{{1}}}|-5 |{{#ifexpr: {{{1}}} round -4 = {{{1}}}|-4 |{{#ifexpr: {{{1}}} round -3 = {{{1}}}|-3 |{{#ifexpr: {{{1}}} round -2 = {{{1}}}|-2 |{{#ifexpr: {{{1}}} round -1 = {{{1}}}|-1 |{{#ifexpr: {{{1}}} round 0 = {{{1}}}|0 |{{#ifexpr: {{{1}}} round 1 = {{{1}}}|1 |{{#ifexpr: {{{1}}} round 2 = {{{1}}}|2 |{{#ifexpr: {{{1}}} round 3 = {{{1}}}|3 |{{#ifexpr: {{{1}}} round 4 = {{{1}}}|4 |{{#ifexpr: {{{1}}} round 5 = {{{1}}}|5 |{{#ifexpr: {{{1}}} round 6 = {{{1}}}|6 |{{#ifexpr: {{{1}}} round 7 = {{{1}}}|7 |{{#ifexpr: {{{1}}} round 8 = {{{1}}}|8 |9}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} + {{precision/tz|{{{1}}}}} {{template doc}}