Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Converting Number to Character - response (3) by Stiphu

$
0
0

Thank you for the responses.
It's not exactly what I wanted.
 
@Saeed: I tried this as well. The result is fine for a number which has a value behind the comma, but not for all of the following examples:
number   result   wished result (char)
0            .0         0
11          .0         0.011
1200       1.2       1.2
18750     18.8     18.75
 
@Raja: I want to cast decimal numbers (as shown in the example for @Saeed) into char values with the right formatation, not char values into foating values.
 
Any help is very welcomed!
Cheers, Stephan


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>