阅读背景:

我应该将字段PRICE存储为数据库中的int或float吗?

来源:互联网 

In a previous project, I noticed that the price field was being stored as an int, rather than as a float. This is done by multiplying the actual value by 100, the reason being was to avoid running into floating point problems.In a previous project, I noticed that the price




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: