Possible Duplicate:
PHP: show a number to 2 decimal places
$b = $del['Antal'];
$y = $info['Pris'];
$z = $y * $b;
$y comes from a mysql database where its type is "double(10,2)" so that one works when I try echo $y; it responds with two decimals.
But now I would like to multiply it with $b.
For example 10.20 * 2 = 20.40
But right now it is like: 10.20 * 2 = 20.4 (only one decimal)
I want two decimals, what to do? I tried some stuff with the (double) function, but didn't really work out. What to do?