amount_positive; $compare = $this->trigger->trigger_value; $result = bccomp($amount, $compare, 4); if ($result === -1) { // found something Log::debug($amount . ' is less than ' . $compare . '. Return true.'); return true; } // found nothing. Log::debug($amount . ' is not less than ' . $compare . '. Return false.'); return false; } }