I am talking about the file
vendor/magento/module-sales/Model/Order/Creditmemo/Total/Shipping.php
here in codes
if ($desiredAmount < $this->priceCurrency->round($maxAllowedAmount) + 0.0001) {
And
if ($desiredAmount > $maxAllowedAmount - 0.0001) {
why is there addition and subtraction of the amount 0.0001
Can't this be done without this?
$x <= $y.
I never experienced issues in any float values this way either.