Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 09 Nov 2009 @ 10:53:48 GMT


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


Subj:   Re: Need to select only the mantissa part
 
From:   Murali.Deenadayalan

Hope this workaround will help you though not a direct function.

     SELECT 1234.56 AS nbr
          , CAST(nbr - (CAST(nbr AS BIGINT)) AS DECIMAL(10,2)) AS mantissa

Thanks & Regards,

Murali D.



     
  <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: 15 Jun 2023