Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
What would be a accurate equivalent of SQL's numeric(15,2) on MySQL? I've tried decimal(15,2) and it's not working as it should.
在Mysql中,如果你说decimal(5,2)那么你得到的字段可以包含最大值999.99(所以小数点后的总数为5和2。)
decimal(5,2)
999.99