Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f940YWn50947 for ; Wed, 3 Oct 2001 20:34:32 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f940N4d44389 for pgsql-sql@postgresql.org; Wed, 3 Oct 2001 20:23:04 -0400 (EDT) (envelope-from news) From: missive@frontiernet.net (Lee Harr) X-Newsgroups: comp.databases.postgresql.sql Subject: Re: select 5/2??? Date: Thu, 4 Oct 2001 00:23:04 +0000 (UTC) Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 22 Message-ID: <9pga58$1b7d$2@news.tht.net> References: <9pfg2k$16og$1@news.tht.net> Reply-To: missive@hotmail.com X-Complaints-To: scrappy@hub.org User-Agent: slrn/0.9.7.0 (FreeBSD) To: pgsql-sql@postgresql.org X-Archive-Number: 200110/60 X-Sequence-Number: 5015 > > I run select 5/2 = 2 > who to get "2.5" > integer/integer = integer float/integer = float integer/float = float integer/integer::float = float test=# SELECT 5.0/2; ?column? ---------- 2.5 (1 row) test=# SELECT 5/2::float; ?column? ---------- 2.5