由于早期建立数据库的时候不太在意也不太懂数据精确度的问题,所以对数值的存储都是用的float,发现的时候悔之晚矣,也就一直没改,今天又看到了个5.123232313E-14我下定决心。。。改decimal吧,结果发现没想象的那么简单,报错如下 “MBom”表 - 无法修改表
由于早期建立数据库的时候不太在意也不太懂数据精确度的问题,所以对数值的存储都是用的float,发现的时候悔之晚矣,也就一直没改,今天又看到了个5.123232313E-14我下定决心。。。改decimal吧,结果发现没想象的那么简单,香港虚拟主机,报错如下
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn