Шаблон:Percentage CSS/doc
Зоҳир
This template is a replacement of {{percentage}} for use in CSS expressions (such as layout widths) or similar contexts where a plain numeric value is desired. Use {{percentage}} in article text.
Usage
[вироиши манбаъ]{{percentage CSS | numerator | denominator }}
Examples
[вироиши манбаъ]- {{Percentage CSS | 1 | 3 }} yields 33.333333333333%
- {{Percentage CSS | 20 }} yields 20%
Because this template's values are not supposed to be read by humans but machines, this template ignores the rounding parameter (unlike {{percent}}) and instead always returns the full precision.
See also
[вироиши манбаъ]{{Percent}}
– for use in article text