コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6457 ビュー

There are 2 datatypes for fixed point values and 4 for floating point numbers in SQL.

Which are used for fields.float and fields.function (type='float', store=True) ?

Thanks.

アバター
破棄
最善の回答

Hello René, it seems all of them use the 'numeric' datatype. You can check for yourself using psql and describing a table ( \d <table_name>). You can check this out in the account_voucher module with the account_voucher_line table. Install this module and then \d(escribe) the table. Hope this helps!

Best regards,

Bruno Figares.

アバター
破棄
著作者

I've done that and the result is: fields.float (no digit attribute): double precision. fields.function(type='float', store=True): numeric.

関連投稿 返信 ビュー 活動
1
11月 22
2470
0
2月 21
2081
0
9月 24
140
4
9月 18
4688
5
4月 16
5492