Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Jul 2006 @ 21:53:45 GMT


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


Subj:   Formatting a number using engineering notation
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, July 25, 2006 17:42 -->

Is it possible to format a number using engineering notation (scientific notation in which the power of ten must be a multiple of three)?

For example, the following returns a number in scientific notation:

     select 15000 (format '9.99e+99') (char(10));

     1.50E+04

But what I want is:

     15.0E+03


     
  <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