percentstyle
Percentstyle is a formatting concept used in software libraries, data visualization, and typesetting to control how percentage values are displayed. It encompasses rules for numeric representation, the use and position of the percent sign, rounding behavior, and locale-sensitive conventions such as decimal separators and spacing. Depending on the system, percentstyle may be a configurable option, a preset style, or an inline formatting directive applied to numbers in tables, charts, and narrative text.
Common features include precision (the number of digits after the decimal point), rounding method, and whether
Percentstyle choices can be described as compact versus full, with compact styles favoring shorter representations in
See also: percentage, number formatting, localization, typography.