- round: documentation ( source)
- str_replace: documentation ( source)
- number_format: documentation ( source)
<?php
$fPrice = round(289.78 * 6.55957, 2);
$fPrice = number_format($fPrice, 2, ".", "");
$fPrice = str_replace(".", "", $fPrice);
echo $fPrice;