almostEquals

infix fun Float.almostEquals(other: Float): Boolean

Returns true if two floats are equal within a tolerance. Useful for comparing floating point numbers while accounting for the limitations in floating point precision.