to_char(0,'FM990D99') = "0." instead of "0" - Mailing list pgsql-general

From Janning Vygen
Subject to_char(0,'FM990D99') = "0." instead of "0"
Date
Msg-id 200207221339.g6MDdhM27369@janning.planwerk6.local
Whole thread Raw
Responses Re: to_char(0,'FM990D99') = "0." instead of "0"
List pgsql-general
select to_char(1, 'FM990D99');
1
select to_char(0, 'FM990D99');
0.

how to avoid the decimal point in the second query??

kind regards,
janning

pgsql-general by date:

Previous
From: Jon Lapham
Date:
Subject: viewing/altering the "ON DELETE CASCADE" constraint
Next
From: Chris
Date:
Subject: CASE Tools