Class: QgsExpressionBasedNumericFormat¶
A numeric formatter which uses a QgsExpression
to calculate
the text representation of a value.
Added in version 3.40.
Class Hierarchy¶
Base classes¶
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 expression used to calculate the text representation of a value. |
|
Sets the expression used to calculate the text representation of a value. |
- class qgis.core.QgsExpressionBasedNumericFormat[source]¶
Bases:
QgsNumericFormat
- expression(self) str [source]¶
Returns the expression used to calculate the text representation of a value.
See also
- Return type:
str