| От | Len Morgan |
|---|---|
| Тема | Money Data Type |
| Дата | |
| Msg-id | 35757FF9.C2D22CBD@bbs.xroadstx.com обсуждение исходный текст |
| Ответы |
Re: [SQL] Money Data Type
|
| Список | pgsql-sql |
I am having a problem converting a data type of money to type float. After 'greping' all the documentation directorys, I can't find a reference to "money", "Money", or "MONEY" but I know it's in there somewhere because I have a money type (a mistake I now realize) in my database. How do I convert from type money to type float and back? float4(moneyfield) gives me a huge number (something e+09). I get similar results with float8, float, and even int4(). Thanks in advance. Len Morgan
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера