Class: QgsFallbackNumericFormat¶
- class qgis.core.QgsFallbackNumericFormat¶
Bases:
QgsNumericFormat
A basic numeric formatter which returns a simple text representation of a value.
New in version 3.12.
QgsFallbackNumericFormat() Default constructor
QgsFallbackNumericFormat(
QgsFallbackNumericFormat
)Methods
- rtype:
QgsNumericFormat
- param context:
- param configuration:
- param value:
- rtype:
str
- rtype:
int
- rtype:
str
- clone(self) QgsNumericFormat ¶
- Return type:
- configuration(self, context: QgsReadWriteContext) Dict[str, Any] ¶
- Parameters:
context (QgsReadWriteContext) –
- Return type:
Dict[str, Any]
- create(self, configuration: Dict[str, Any], context: QgsReadWriteContext) QgsNumericFormat ¶
- Parameters:
configuration (Dict[str) –
context (QgsReadWriteContext) –
- Return type:
- formatDouble(self, value: float, context: QgsNumericFormatContext) str ¶
- Parameters:
value (float) –
context (QgsNumericFormatContext) –
- Return type:
str
- id(self) str ¶
- Return type:
str
- sortKey(self) int ¶
- Return type:
int
- visibleName(self) str ¶
- Return type:
str