[eluser]Aken[/eluser]
You'll want to sanitize the numbers further, because given your example, a number with thousands would then contain more than one decimal point, providing incorrect results when comparing. For example:
Code:
$num1 = '102,33';
$num2 = '1.044,98';
$num1 = str_replace(',', '.', $num1); // 102.33
$num2 = str_replace(',', '.', $num2); // 1.044.98
var_dump($num1 > $num2); // bool(true)