开发者

Correct database type for mysql to store values: 0.0 to 1.0

I am adding the priority field to XML sitemap to the datab开发者_JAVA百科ase and was wondering what is the correct database type to store values range from 0.0 to 1.0


You could use DECIMAL(2, 1), although that will actually be capable of storing -9.9 to 9.9.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜