Class: qgsDoubleToString

class qgis.core.qgsDoubleToString(a: float, precision: int = 17) → str

Returns a string representation of a double

Parameters
  • a (float) – double value

  • precision (int = 17) – number of decimal places to retain

Return type

str