0
1

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 5 years have passed since last update.

JavaScript, Python, django, postgres 数値の扱える範囲まとめ

Posted at

背景

クライアント側をJavaScript、サーバー側をdjangoでpostgres使ってデータの保存を行なっている時

まとめ表

言語(?) 最小値 最大値
JavaScript -2^53 2^53
python float -1.7976931348623157e+308 1.7976931348623157e+308
django FloatField - -
postgres double 整数部、小数部合わせて15桁まで 整数部、小数部合わせて15桁まで
言語(?) 最小値 最大値
JavaScript -2^53 2^53
python integer - -
django IntegerField -2147483648 2147483648
postgres integer -2147483648 2147483648

参考

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?