destination_amount ?? TransactionJournal::amountPositive($journal); $compare = $this->triggerValue; $result = bccomp($amount, $compare, 4); if ($result === 0) { Log::debug(sprintf('RuleTrigger AmountExactly for journal #%d: %d matches %d exactly, so return true', $journal->id, $amount, $compare)); return true; } Log::debug(sprintf('RuleTrigger AmountExactly for journal #%d: %d matches %d NOT exactly, so return false', $journal->id, $amount, $compare)); return false; } }