we are using this code for displaying shipping charges in magneto site :
<?php echo "Selling Price + " . $_excl . " Delivery "; ?>
where $_excl
will return the value.
its displaying results as 10.00, 20.00...etc.
I want to remove .00 from "10.00" & display only 10.
I tried below codes :
echo "Selling Price + " . round($_excl,0) . " Delivery ";
echo "Selling Price + " . round($_excl) . " Delivery ";
echo "Selling Price + " . $_excl + 0 . " Delivery ";
nothing worked for me, Please give me updated code for this