"Money" fields are returned as 'float'.

Поиск
Список
Период
Сортировка
От Vernon Cole
Тема "Money" fields are returned as 'float'.
Дата
Msg-id AANLkTin2JU-+P0rOrTTg3C2u1fAQNjCn8C_WGB+cPPHv@mail.gmail.com
обсуждение исходный текст
Список pgsql-odbc
I ran across this while adding explicit PostgreSQL support to adodbapi.
I am using psqlodbc_09_00_0200 which I downloaded this morning.
When I store a field of type "money", which, IIUC, is stored in an exact format, I get back from ODBC a double float.
This is very interesting, since I cannot use a floating value to input the same field, and thus cannot perform a store of something I am about to read. 

In my humble opinion, you should be accepting and returning a decimal type.
--
Vernon Cole

P.S.: Is this the correct place to make this comment?

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Andrus"
Дата:
Сообщение: latest driver returns no error on out of memory
Следующее
От: dogbert@erudyn.com
Дата:
Сообщение: Mac ODBC driver legit?