I am having a problem with the multiplication of two decimals 30.63
and 0.15
. My calculator says that it should result in 4.60
.
$commission = bcmul(30.63, 0.15,2);
Result from this is 4.59
.
From what I had read bcmul was meant to work with decimal numbers?
Many thanks,