Re: Removing a decimal from a number

From: Valery A. Sorokin <vsorokin_at_dd.ru>
Date: Fri, 19 Feb 1999 12:28:42 +0300
Message-ID: <36CD2ECA.79715068_at_dd.ru>


Try to use REPLACE(TO_CHAR(Value),'.') also.

Hope this helps.

david.skergan_at_cplc.com wrote:
>
> In a stored procedure, I am trying to read decimal values from a table and
> export them to a flat file WITHOUT their decimal point.
>
> For example:
>
> Value: 3.14159 Desired result: 314159
> Value: 200.32 Desired result: 20032
>
> What is the best way to do this?
>
> Thanks...
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

-- 
Valery A. Sorokin
ProSoft, Russia, Moscow, Information Systems Division
Phone: +7 (095) 234 0636 (6 lines) FAX: +7 (095) 234 0640
E-mail: vsorokin_at_dd.ru OR vsorokin_at_prosoft.ru
http://www.dd.ru
Received on Fri Feb 19 1999 - 10:28:42 CET

Original text of this message