0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MySQLのDECIMAL型

Posted at

概要

  • MySQLのDECIMAL型について簡単にまとめる。

内容

  • DECIMAL型は固定の小数点型のデータを指す。
  • 全体の桁数と小数点以下の桁数でデータの型を指定する。
  • DECIMAL(XX, YY)のように指定する。(この場合「全体でXX桁、小数点以下YY桁」)となる。
  • 例えばDECIMAL(10, 4)の場合、最大で999999.9999、最小で-999999.9999が格納できる。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?