Class: qgsFloatNear

class qgis.core.qgsFloatNear(a: float, b: float, epsilon: float = 4*FLT_EPSILON) → bool

Compare two floats (but allow some difference)

Parameters
  • a – first float

  • b – second float

  • epsilon

    maximum difference allowable between floats

    Enums

    Methods

    Signals

    Attributes