[MySQL] 기본값은 decimal(10,0), 최대값은 decimal(65,38)
decimal(p,s) p는 전체 숫자의 자릿수, s는 소수점 이하 자릿수 가능한 값의 범위는 -(10^p - 1)/(10^s)에서 (10^p - 1)/(10^s)까지 decimal(3,1)인 경우 가능한 값의 범위는 -9.9에서 9.9까지 MySQL 기본값은 decimal(10,0), 최대값은 decimal(65,38) [출처] https://dev.mysql.com/doc/refman/8.3/en/fixed-point-types.html#:~:text=In%20standard%20SQL%2C%20the%20syntax,value%20of%20M%20is%2010. MySQL :: MySQL 8.3 Reference Manual :: 13.1.3 Fixed-Point Types (Exact Value)..