Class: QgsPercentageNumericFormat¶
A numeric formatter which returns a text representation of a percentage value.
Added in version 3.12.
Class Hierarchy¶
Base classes¶
A numeric formatter which returns a simple text representation of a value.  | 
|
A numeric formatter allows for formatting a numeric value for display, using a variety of different formatting techniques (e.g. as scientific notation, currency values, percentage values, etc)  | 
Methods
Returns the format of the incoming values.  | 
|
Sets the format of the incoming values.  | 
Attributes
- class qgis.core.QgsPercentageNumericFormat[source]¶
 Bases:
QgsBasicNumericFormat- __init__()
 Default constructor
- __init__(a0: QgsPercentageNumericFormat)
 - Parameters:
 
- class InputValues¶
 Bases:
int
- ValuesAreFractions = 1¶
 
- ValuesArePercentage = 0¶
 
- inputValues(self) QgsPercentageNumericFormat.InputValues[source]¶
 Returns the format of the incoming values.
See also
- Return type:
 
- setInputValues(self, format: QgsPercentageNumericFormat.InputValues)[source]¶
 Sets the
formatof the incoming values.See also
- Parameters: