RE: [ADMIN] RE: [SQL] float4

1999-07-01 Thread JT Kirkpatrick
7;Tom Lane'; '[EMAIL PROTECTED]' Subject:Re: [ADMIN] RE: [SQL] float4 > ahh, so 6.5 has an answer! for our "cash and accounts payable" database i > converted the float4 field to int4, and altered the input mask on the front > end to show a decimal point, but not

Re: [ADMIN] RE: [SQL] float4

1999-06-30 Thread Bruce Momjian
> ahh, so 6.5 has an answer! for our "cash and accounts payable" database i > converted the float4 field to int4, and altered the input mask on the front > end to show a decimal point, but not save it with the data. so now i am > saving $35.99 as 3599. i had to alter all reports to divide by

[ADMIN] RE: [SQL] float4

1999-06-30 Thread JT Kirkpatrick
ahh, so 6.5 has an answer! for our "cash and accounts payable" database i converted the float4 field to int4, and altered the input mask on the front end to show a decimal point, but not save it with the data. so now i am saving $35.99 as 3599. i had to alter all reports to divide by 100. w

[ADMIN] Re: [SQL] float4

1999-06-28 Thread Tom Lane
JT Kirkpatrick <[EMAIL PROTECTED]> writes: > we made all monetary fields FLOAT4's. weird stuff -- or maybe not to you > -- we insert 23516.69 into a float4 field directly in psql, and then select > it, and it shows 23516.7. this is not good for a field used for MONEY!!! Yup, no surprise. fl