Adding the ability to deduct 4 to this line of code

This line of code successfully takes an amount and the result shown is half that amount:

'W_AMOUNT' => number_format( ($withdrawal->amount / 2), 2),

is it possible to have that be modified to be half the amount minus 4 then becomes the result amount?

I look forward to any assistance

It’s just math. Just do it…

1 Like
Sponsor our Newsletter | Privacy Policy | Terms of Service