Thành viên:TrunghaiTĐN/sandbox
More example expressions[sửa | sửa mã nguồn]
Number[sửa | sửa mã nguồn]
{{value|1234567.1234567}}
→ 1
⟨{{val| 1234567.1234567 }}⟩
→ ⟨12345671234567⟩
{{value|.1234567|fmt=commas}}
→ 1
{{value|+1234567|fmt=commas}}
→ 1
{{value|-1234567}}
→ 1
Uncertainty[sửa | sửa mã nguồn]
{{value|1.234|0.005}}
→ 1
{{value|1.234|0.005|e=3}}
→ 1
{{value|1.234|+0.005|-0.006}}
→ 1
{{value|1.234|(5)}}
→ 1
Units[sửa | sửa mã nguồn]
{{value|1.234|u=m}}
→ 1
{{value|1.234|u=m2}}
→ 1
{{value|1.234|ul=m}}
→ 1
{{value|123.4|ul=USgal}}
→ 1
{{value|12.34|ul=mpgimp}}
→ 1
{{value|12.34|u=deg}}
→ 1
{{value|1.234|0.005|u='}}
→ 1
{{value|1.234|+0.005|-0.006|u="}}
→ 1
{{value|1.234|u=%}}
→ 1
{{value|1.234|end= [[m/s]]}}
→ 1
{{value|12.34|u=degC}}
→ 1
{{value|12.34|u=K}}
→ 1
Exponents[sửa | sửa mã nguồn]
{{value|e=5}}
→ 1
{{value|e=5|ul=m}}
→ 1
{{value|1.234e5|ul=m}}
→ 1
{{value|1.234|e=5|ul=m}}
→ 1
{{value|1.234e7|0.056}}
→ 1
{{value|1.234|0.056|e=7}}
→ 1
{{value|1.23456e-9|+0.00007|-0.00008|ul=m/s}}
→ 1
{{value|1.23456|+0.00007|-0.00008|e=-9|ul=m/s}}
→ 1
{{value|1.234e7|0.056|ul=psi}}
→ 1
{{value|1.234|0.056|e=7|ul=psi}}
→ 1
{{value|1.234e-2|(5)}}
→ 1
{{value|1.234|(5)|e=-2}}
→ 1
Prefix/suffix[sửa | sửa mã nguồn]
{{value|12.34|p=Δ }}
→ 1
{{value|12.34|u=%|p=≅}}
→ 1
{{value|12.34|0.25|s=%}}
→ 1
Numerator/denominator[sửa | sửa mã nguồn]
{{value|1.234|e=7|ul=W|up=m2}}
→ 1
Repeating digits[sửa | sửa mã nguồn]
{{val|1.2|end={{overline|34}}|e=7|ul=W|up=m2}}
→ 1234×107 W/m2
Even more examples[sửa | sửa mã nguồn]
See the testcases at {{value/testcases}}.