时间:2021-07-01 10:21:17 帮助过:23人阅读
$fee = 0.01;
$redis->incrby('num',$fee);
//ERR value is not an integer or out of range incrby不能用浮点数,除了*100转换还有办法吗?
$fee = 0.01;
$redis->incrby('num',$fee);
//ERR value is not an integer or out of range incrby不能用浮点数,除了*100转换还有办法吗?
不是很清楚了吗.第二个参数要是int类型的