Difference between revisions of "MetricFormat"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexpr:{{{1}}} > 1000|{{#vardefine:mvalue|{{#expr:{{{1}}} / 1000}}}}{{#vardefine:munit|k{{{2}}}}}|{{ | {{#ifexpr:{{{1}}} > 1000|{{#vardefine:mvalue|{{#expr:{{{1}}} / 1000}}}}{{#vardefine:munit|k{{{2}}}}}|{{ | ||
− | #ifexpr:{{{1}}} > 1|{{#vardefine:mvalue|{{{ | + | #ifexpr:{{{1}}} > 1|{{#vardefine:mvalue|{{{1}}}}}{{#vardefine:munit|{{{2}}}}}|{{ |
#ifexpr:{{{1}}} > 0.001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000}}}}{{#vardefine:munit|m{{{2}}}}}|{{ | #ifexpr:{{{1}}} > 0.001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000}}}}{{#vardefine:munit|m{{{2}}}}}|{{ | ||
#ifexpr:{{{1}}} > 0.000001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000000}}}}{{#vardefine:munit|μ{{{2}}}}}|{{ | #ifexpr:{{{1}}} > 0.000001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000000}}}}{{#vardefine:munit|μ{{{2}}}}}|{{ | ||
#ifexpr:{{{1}}} > 0.000000001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000000000}}}}{{#vardefine:munit|n{{{2}}}}} | #ifexpr:{{{1}}} > 0.000000001|{{#vardefine:mvalue|{{#expr:{{{1}}} * 1000000000}}}}{{#vardefine:munit|n{{{2}}}}} | ||
− | |}}}}}}}}}}<noinclude>[[Category: | + | |}}}}}}}}}}<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 13:06, 1 January 2022
Expression error: Unrecognized punctuation character "{".