src/Utility/Number.php
public static function isFloatEqual($x, $y, $precision = 0.0000001) {
		return ($x + $precision >= $y) && ($x - $precision <= $y);
	}
public static function isFloatEqual($x, $y, $precision = 0.0000001) {
		return ($x + $precision >= $y) && ($x - $precision <= $y);
	}
public static function isFloatEqual ( $ x , $ y , $ precision = 0.0000001 ) { return ( $ x + $ precision >= $ y ) && ( $ x - $ precision <= $ y ) ; }
Can compare two float values

@link http://php.net/manual/en/language.types.float.php
@param float $x
@param float $y
@param float $precision
@return bool
Can compare two float values