Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 07 May 2004 @ 17:12:24 GMT


     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 


Subj:   Rounding Floating Number values
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, May 07, 2004 12:29 -->

Hi,

Is there any way I can round a FLOAT value. Im using the following syntax to round

     select pp_line_id,cast(LOCAL_CURRENCY_AMOUNT as decimal (18,2))
        from edw_data.fds_journal_details_f_x
      where period_id = 200403
     sample 10

But if I change the decimal to 0 then it picks up differnt rows alltogether.

Thanks



     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016