Fixed floatval() and setlocale() issue