【发布时间】:2016-09-19 05:25:35
【问题描述】:
我的数值超出范围Numeric value out of range: 1264 Out of range value for column 'Value' at row 1
当我试图做的时候
$GetLatId = $PDO -> prepare("INSERT INTO `longitude` (`Value`) VAlUE(:Val);");
$GetLatId -> bindValue(':Val',12345.12345);
try{
$GetLatId -> execute();
}catch (PDOException $e)
{
die($e->getMessage());
}
Value 字段为DOUBLE(5,5)
这可以是mysql配置吗?
【问题讨论】: