Template:Currency/doc: Difference between revisions

57 bytes removed ,  Yesterday at 16:58
Decimal examples
(Document changed show_zeros arg)
(Decimal examples)
 
(One intermediate revision by the same user not shown)
Line 8:
!Visible result
|-
|<nowiki>{{T|Currency|0}}</nowiki>
|{{Currency|0}}
|-
|<nowiki>{{T|Currency|100}}</nowiki>
|{{Currency|100}}
|-
|<nowiki>{{T|Currency|200100}}</nowiki>
|{{Currency|200100}}
|-
|<nowiki>{{T|Currency|300200100}}</nowiki>
|{{Currency|300200100}}
|-
|<nowiki>{{T|Currency|400300200100}}</nowiki>
|{{Currency|400300200100}}
|-
|<nowiki>{{T|Currency|400000000000}}</nowiki>
|{{Currency|400000000000}}
|-
|<nowiki>{{T|Currency|300000100}}</nowiki>
|{{Currency|300000100}}
|-
|<nowiki>{{T|Currency|400000200000}}</nowiki>
|{{Currency|400300200100}}
|-
|<nowiki>{{T|Currency|-1}}</nowiki>
|{{Currency|-1}}
|-
|<nowiki>{{T|Currency|-4,003,002,001,000}}</nowiki>
|{{Currency|-4,003,002,001,000}}
|-
|<nowiki>{{T|Currency|2*(8/4)}}</nowiki>
|{{Currency|2*(8/4)}}
|-
| {{T|Currency|0.5}}
| {{Currency|0.5}}
|-
| {{T|Currency|1/3 round 2}}
| {{Currency|1/3 round 2}}
|}
 
Line 70 ⟶ 76:
! <code>show_zeros=none</code>
|-
| 0 || {{Currency|0|show_zeros=some}} || {{Currency|0|show_zeros=all}} || {{Currency|0|show_zeros=allnone}}
|-
| 1 || {{Currency|1|show_zeros=some}} || {{Currency|1|show_zeros=all}} || {{Currency|1|show_zeros=allnone}}
|-
| 2,000 || {{Currency|2000|show_zeros=some}} || {{Currency|2000|show_zeros=all}} || {{Currency|2000|show_zeros=allnone}}
|-
| 2,001 || {{Currency|2001|show_zeros=some}} || {{Currency|2001|show_zeros=all}} || {{Currency|2001|show_zeros=allnone}}
|-
| 3,002,000 || {{Currency|3002000|show_zeros=some}} || {{Currency|3002000|show_zeros=all}} || {{Currency|3002000|show_zeros=allnone}}
|-
| 4,000,002,000 || {{Currency|4000002000|show_zeros=some}} || {{Currency|4000002000|show_zeros=all}} || {{Currency|4000002000|show_zeros=allnone}}
|}
 
121

edits