Vorlage:FormatZahl: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<noinclude> </noinclude><includeonly><!-- Ausgabe des Vorzeichens (rekursiv) -->{{#ifexpr:{{{1}}} < 0|-}}<!-- Ab hier nur noch Beträge -->{{#ifexpr:abs({{{…“ |
Admin (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
< | <onlyinclude><includeonly><!-- | ||
-->{{#iferror: {{#expr: 1*{{{1}}} }} | |||
| {{{1}}} | |||
| {{#ifexpr: {{{1}}} < -0.004999999 | - }}<!-- | |||
-->{{#switch: {{uc:{{{LAND}}}}} | |||
| CH | |||
| LI = {{#ifexpr: (abs({{{1}}}) round 0) = 1000000000000 | |||
| 1'000'000'000'000 | |||
| {{#ifexpr: (abs({{{1}}}) round 0) >= 1000000000 | {{#expr: ((abs({{{1}}}) round 0) / 1000000000) mod 1000}}' }}<!-- | |||
-->{{#ifexpr:abs({{{1}}}) | -->{{#ifexpr: (abs({{{1}}}) round 0) >= 100000000 | {{#expr: ((abs({{{1}}}) round 0) / 100000000) mod 10}} }}<!-- | ||
-->{{#ifexpr:abs({{{1}}}) > | -->{{#ifexpr: (abs({{{1}}}) round 0) >= 10000000 | {{#expr: ((abs({{{1}}}) round 0) / 10000000) mod 10}} }}<!-- | ||
-->{{#ifexpr:abs({{{1}}}) > | -->{{#ifexpr: (abs({{{1}}}) round 0) >= 1000000 | {{#expr: ((abs({{{1}}}) round 0) / 1000000) mod 10}}' }}<!-- | ||
-->{{#ifexpr: (abs({{{1}}}) round 0) >= 100000 | {{#expr: ((abs({{{1}}}) round 0) / 100000) mod 10}} }}<!-- | |||
-->{{#ifexpr: (abs({{{1}}}) round 0) >= 10000 | {{#expr: ((abs({{{1}}}) round 0) / 10000) mod 10}} }}<!-- | |||
-->{{#ifexpr: (abs({{{1}}}) round 0) >= 1000 | {{#expr: ((abs({{{1}}}) round 0) / 1000) mod 10}} }}<!-- | |||
-->{{#ifexpr: ({{#ifeq: {{uc:{{{2}}}}} | T | 1 | 0 }} and ((abs({{{1}}}) round 0) >= 1000)) or ((abs({{{1}}}) round 0) >= 10000) | ' }}<!-- | |||
-->{{#ifexpr:(abs({{{1}}})) > | -->{{#ifexpr: (abs({{{1}}}) round 0) >= 100 | ||
| {{#expr: ((abs({{{1}}}) round 0) / 100) mod 10}}<!-- | |||
-->{{#ifexpr: (abs({{{1}}}) round 0) >= 10 | {{#expr: ((abs({{{1}}}) round 0) / 10) mod 10}} }}<!-- | |||
-->{{#expr: (abs({{{1}}}) round 0) mod 10}} | |||
{{# | | {{#ifexpr: abs({{{1}}}) > 10 | {{#expr: abs({{{1}}}) round 1}} | {{#expr: abs({{{1}}}) round 2}} }} }} }} | ||
{{#ifexpr:abs({{{1}}}) > | | #default = {{#ifexpr: (abs({{{1}}}) round 0) >= 10000 | ||
| {{ZAHLENFORMAT: {{#expr: abs({{{1}}}) round 0}} }} | |||
| {{#ifexpr: (abs({{{1}}}) round 0) >= 1000 | |||
| {{#ifeq: {{uc:{{{2}}}}} | T | |||
{{#expr: | | {{ZAHLENFORMAT: {{#expr: abs({{{1}}}) round 0}} }} | ||
{{#ifexpr:abs({{{1}}}) > | | {{#expr: abs({{{1}}}) round 0}} }} | ||
{{# | | {{#ifexpr: abs({{{1}}}) > 10 | ||
| {{ZAHLENFORMAT: {{#expr: abs({{{1}}}) round 1}} }} | |||
}} }}</includeonly> | | {{ZAHLENFORMAT: {{#expr: abs({{{1}}}) round 2}} }} }} }} }} }} }}</includeonly></onlyinclude> | ||
{{Dokumentation}} | |||