Template:Numdisplay: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 5: Line 5:
-->{{#vardefine: coin4 | {{#iferror: {{#expr: {{{1}}} div 1000^3 fmod 100 }} | 0}} }}<!--
-->{{#vardefine: coin4 | {{#iferror: {{#expr: {{{1}}} div 1000^3 fmod 100 }} | 0}} }}<!--


-->{{#ifexpr: {{#var: coin4}} > 0 | {{#var: coin4}}B}} <!--
-->{{#ifexpr: {{#var: coin4}} > 10^11 | {{#var: coin4}}B}} <!--
-->{{#ifexpr: {{#var: coin3}} > 0 | {{#var: coin3}}M}} <!--
-->{{#ifexpr: {{#var: coin3}} > 10^5 | {{#var: coin3}}M}} <!--
-->{{#ifexpr: {{#var: coin2}} > 0 | {{#var: coin2}}K}} <!--
-->{{#ifexpr: {{#var: coin2}} > 100 | {{#var: coin2}}K}} <!--
-->{{#ifexpr: {{#var: coin1}} < 1000 | {{#var: coin1}}}}<!--
-->{{#ifexpr: {{#var: coin1}} > 0 | {{#var: coin1}}}}<!--
-->}}
-->}}

Revision as of 23:32, 11 December 2020

?