Template:Numdisplay: Difference between revisions
From IdleOn MMO Wiki
imported>Blackwolfe No edit summary |
imported>Blackwolfe No edit summary |
||
Line 1: | Line 1: | ||
{{#iferror: {{#expr: {{{1}}}}} | ? |<!-- | {{#iferror: {{#expr: {{{1}}}}} | ? |<!-- | ||
-->{{#vardefine: coin1 | {{#iferror: {{#expr: {{{1}}}}} fmod | -->{{#vardefine: coin1 | {{#iferror: {{#expr: {{{1}}}}} fmod 1000| 0}} }}<!-- | ||
-->{{#vardefine: coin2 | {{#iferror: {{#expr: {{{1}}} div 10^3 fmod | -->{{#vardefine: coin2 | {{#iferror: {{#expr: {{{1}}} div 10^3 fmod 1000 }} | 0}} }}<!-- | ||
-->{{#vardefine: coin3 | {{#iferror: {{#expr: {{{1}}} div 10^6 fmod | -->{{#vardefine: coin3 | {{#iferror: {{#expr: {{{1}}} div 10^6 fmod 1000 }} | 0}} }}<!-- | ||
-->{{#vardefine: coin4 | {{#iferror: {{#expr: {{{1}}} div 10^9 fmod | -->{{#vardefine: coin4 | {{#iferror: {{#expr: {{{1}}} div 10^9 fmod 1000 }} | 0}} }}<!-- | ||
-->{{#ifexpr: {{{1}}} >= 10^9 |{{#ifexpr: {{#var: coin4}} > 0 | {{#var: coin4}}B}}}} <!-- | -->{{#ifexpr: {{{1}}} >= 10^9 |{{#ifexpr: {{#var: coin4}} > 0 | {{#var: coin4}}B}}}} <!-- |
Revision as of 23:49, 11 December 2020
?