$tvp = '0.006';
$price_pl = '0.018';
$timer = 3;
$price_t = $price_pl/$timer;
if(floatval($price_t) < floatval($tvp)){
echo floatval($price_t) ." = ". floatval($tvp);
echo "<pre>";
var_dump(floatval($price_t));
echo "<br>";
var_dump(floatval($tvp));
echo "<br>";
echo "<br>";
}
0.006 = 0.006
float(0.006)
float(0.006)
$price_t = bcdiv($price_pl, $timer, 3);