开发者

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

开发者 https://www.devze.com 2023-04-04 15:00 出处:网络
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.0You could use DECIMAL(2, 1), altho

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

精彩评论

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