[ACCEPTED]-What is the best way to bind decimal / double / float values with PDO in PHP?-pdo
AFAIK PDO::PARAM_STR is the way to go.
You have to use PDO::PARAM_STR, but for 2 SQLite and other engines this can have unpredictable 1 behaviors. See this issue for one example: SQLite HAVING comparison error
More Related questions