« Thousands separator » : différence entre les versions
De Semantic MediaWiki - Sandbox
|
|
Ligne 1 : |
Ligne 1 : |
| == Properties == | | == Properties == |
| * [[Property:Value1]] : '''[[Value1::1000.55]]''' | | * [[Property:Value1]] : '''[[Value1::1000.55]]''' |
| * [[Property:Value2]] : '''[[Value2::21000.42]]''' | | * [[Property:Value2]] : '''[[Value2::21000.4]]''' |
|
| |
|
| == #Show == | | == #Show == |
Version du 26 novembre 2015 à 16:05
Properties
- Property:Value1 : 1000.55« .55 » n’est pas déclaré comme une unité valide de mesure pour cette propriété.
- Property:Value2 : 21000.4« .4 » n’est pas déclaré comme une unité valide de mesure pour cette propriété.
#Show
- With separator
{{#show:{{PAGENAME}}|?Value1}} :
|
€ 1 000,55¥ 114 062,7 <br />
|
- Without separator
{{#show:{{PAGENAME}}|?Value1#}} :
|
€ 1000,55
|
{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,|.|.}} :
|
Le premier argument de « number_format » doit être un nombre.
|
{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,||.}} :
|
Le premier argument de « number_format » doit être un nombre.
|
- With separator
{{#show:{{PAGENAME}}|?Value2}} :
|
€ 21 000,4¥ 2 394 045,6 <br />
|
- Without separator
{{#show:{{PAGENAME}}|?Value2#}} :
|
€ 21000,4
|
#Ask
- With separator
{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|mainlabel=-}} :
|
Value1 | Value2 |
---|
€ 1 000,55¥ 114 062,7 <br /> | € 21 000,4¥ 2 394 045,6 <br /> |
|
- Without separator
{{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|mainlabel=-}} :
|
|
#Ask format=min
- With separator
{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=min}} :
|
1 000,55
|
- Without separator
{{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=min}} :
|
1000.55
|
{{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=min}}|2|,||.}} :
|
100055,00
|
#Ask format=max
- With separator
{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=max}} :
|
21 000,4
|
- Without separator
{{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=max}} :
|
21000.4
|
{{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=max}}|2|,||.}} :
|
210004,00
|
#Ask format=sum
- With separator
{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=sum}} :
|
22 000,95
|
- Without separator
{{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=sum}} :
|
22000.95
|
{{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=sum}}|2|,||.}} :
|
2200095,00
|
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.