Truncate decimals without rounding

To truncate a number to two decimal places without rounding. Try this:
((int)($myNumber*100)/100)

Using the int casting

//-- Try with: 29.99568
$myNumber=29.99568;
echo ((int)($myNumber*100)/100) ;

//-- It prints out: 29.99