money format

Поиск
Список
Период
Сортировка
Искать

money format

От:
"Ken J. Wright" <ken@ori-ind.com>
Дата:
insert into table values (100);
insert into table values (100.);
insert into table values (100.00);

Error while executing the query;
WARN:Bad money external representation
100.000000 (1) 

I've searched the docs, but I can not find how to enter a value in a money
field. It would seem that any number should sqeeze in, even with forced
rounding by the backend. It shouldn't be this hard ;-(

Tried with psql, libpq, BDD.

Ken
FAQ