Class: QgsNumericFormatContext¶
- class qgis.core.QgsNumericFormatContext¶
Bases:
sip.wrapper
A context for numeric formats
New in version 3.12.
QgsNumericFormatContext() Constructor for QgsNumericFormatContext.
The context will be populated based on the user’s current locale settings.
QgsNumericFormatContext(
QgsNumericFormatContext
)Methods
Returns the decimal separator character.
Returns the exponential character.
Returns the negative sign character.
Returns the percent character.
Returns the positive sign character.
Returns the decimal separator character.
Sets the exponential
character
.Sets the negative sign
character
.Sets the percent
character
.Sets the positive sign
character
.Sets the thousands
separator
character.Returns the zero digit
character
.Returns the thousands separator character.
Returns the zero digit character.
- decimalSeparator(self) str ¶
Returns the decimal separator character.
See also
- Return type:
str
- exponential(self) str ¶
Returns the exponential character.
See also
- Return type:
str
- negativeSign(self) str ¶
Returns the negative sign character.
See also
- Return type:
str
- percent(self) str ¶
Returns the percent character.
See also
- Return type:
str
- positiveSign(self) str ¶
Returns the positive sign character.
See also
- Return type:
str
- setDecimalSeparator(self, separator: str)¶
Returns the decimal separator character.
See also
- Parameters:
separator (str) –
- setExponential(self, character: str)¶
Sets the exponential
character
.See also
- Parameters:
character (str) –
- setNegativeSign(self, character: str)¶
Sets the negative sign
character
.See also
- Parameters:
character (str) –
- setPercent(self, character: str)¶
Sets the percent
character
.See also
- Parameters:
character (str) –
- setPositiveSign(self, character: str)¶
Sets the positive sign
character
.See also
- Parameters:
character (str) –
- setThousandsSeparator(self, separator: str)¶
Sets the thousands
separator
character.See also
- Parameters:
separator (str) –
- setZeroDigit(self, character: str)¶
Returns the zero digit
character
.See also
- Parameters:
character (str) –
- thousandsSeparator(self) str ¶
Returns the thousands separator character.
See also
- Return type:
str
- zeroDigit(self) str ¶
Returns the zero digit character.
See also
- Return type:
str