随笔分类 -  PHP

摘要:因为 并不是精确的,因此在执行 select from table where item = float 就无法得到想要的结果。 解决的方式有多重: 1.转换为字符串 select from table where concat(item,'')=float 2.给出一个精度 select from 阅读全文
posted @ 2016-07-24 20:04 HaoKang 阅读(519) 评论(0) 推荐(0)