Bản mẫu:Format price/digits
1
Cách dùng[sửa mã nguồn]
{{Format price/digits|số}}
Ví dụ[sửa mã nguồn]
-
{{Format price/digits|0}}
= 0 -
{{Format price/digits|0.12345}}
= 0,12 -
{{Format price/digits|1.23456}}
= 1,23 -
{{Format price/digits|12.3456}}
= 12,3 -
{{Format price/digits|123.456}}
= 123 -
{{Format price/digits|1234.56}}
= 1.235 -
{{Format price/digits|-234.56}}
= −234,56
Xem thêm[sửa mã nguồn]
- {{Format price}}