Class: qgsPermissiveToDouble¶
-
class
qgis.core.
qgsPermissiveToDouble
(string: str) → Tuple[float, bool]¶ Converts a string to a double in a permissive way, e.g., allowing for incorrect numbers of digits between thousand separators
- Parameters
string (str) – string to convert
ok – will be set to true if conversion was successful
- Return type
Tuple[float, bool]
- Returns
string converted to double if possible
See also
permissiveToInt()