Function: qgsDoubleNearSig

qgis.core.qgsDoubleNearSig(a: float, b: float, significantDigits: int = 10) bool

Compare two doubles using specified number of significant digits

Parameters:
  • a (float)

  • b (float)

  • significantDigits (int = 10)

Return type:

bool