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

clone

rtype:

QgsNumericFormat

configuration

param context:

create

param configuration:

formatDouble

param value:

id

rtype:

str

sortKey

rtype:

int

visibleName

rtype:

str

clone(self) QgsNumericFormat
Return type:

QgsNumericFormat

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:
Return type:

QgsNumericFormat

formatDouble(self, value: float, context: QgsNumericFormatContext) str
Parameters:
Return type:

str

id(self) str
Return type:

str

sortKey(self) int
Return type:

int

visibleName(self) str
Return type:

str