I need to divide a variable in half for a Down Payment amount in a PDf template. The Total amount is already available, I have tried :

$total/2
($total/2)
[$total]/2

I am sure this is probably simple but I am stumped. Anyone?

Thanks in advance for any help