PDO::PARAM_FLOAT does not exist, why? PDO::PARAM_FLOAT does not exist, why? sql sql

PDO::PARAM_FLOAT does not exist, why?


There is none, probably due to implied rounding issues.

Just use PDO::PARAM_STR and convert the float to a string using strval($float) or (string) $float.