Skip to Content
मेन्यू
This question has been flagged

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.

Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

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

Related Posts Replies Views Activity
1
नव॰ 22
2719
0
फ़र॰ 21
2275
0
सित॰ 24
140
4
सित॰ 18
4919
5
अप्रैल 16
5727