Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Suppress digits after decimal point if integer

Suppress digits after decimal point if integer

From: <orauser_at_my-deja.com>
Date: Wed, 15 Nov 2000 09:19:17 GMT
Message-ID: <8utkei$og4$1@nnrp1.deja.com>

Hello,

Is it possible to have a to_char number format to only print the .xx part of a number, if it is not an integer?

i.e, i want:

12345
or 12345.66
but never
12345.00

Thanks in advance for your help.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Nov 15 2000 - 03:19:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US