161 public static function compare($firstValue, $secondValue, $operator)
163 $firstValue = static::roundPrecision($firstValue);
164 $secondValue = static::roundPrecision($secondValue);
170 $result = ($firstValue > $secondValue);
173 $result = ($firstValue >= $secondValue);
176 $result = ($firstValue < $secondValue);
179 $result = ($firstValue <= $secondValue);
182 $result = ($firstValue == $secondValue);
185 $result = ($firstValue != $secondValue);