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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Format

Re: Format

From: Franz-Josef Vorspohl <fj.vorspohl_at_gmx.de>
Date: Tue, 02 Apr 2002 00:29:29 +0200
Message-ID: <5nnhauohp67gv9gts2tf1f1a41qenhq9fi@4ax.com>


HI Allison

On Mon, 1 Apr 2002 17:42:37 -0500, "Allison Callahan" <acall2464_at_hotmail.com> wrote:

>If A = 1, B = 3
>
>SELECT ((A/B)*100) AS Pct ....
>
>How do format Pct so that the calculated field will be displayed as 33%
>instead of 33.333333?

SELECT round (((A/B)*100),0) AS Pct ....

Franz-Josef Received on Mon Apr 01 2002 - 16:29:29 CST

Original text of this message

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