Preserving the trailing zero's

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kld05
Charter Member
Charter Member
Posts: 36
Joined: Fri Apr 28, 2006 8:12 am

Preserving the trailing zero's

Post by kld05 »

I've searched this and cannot find anything that works for this simple issue.

Input data 4.000, 4.100, 4.120, and 4.123
Target Data 4, 4.1, 4.12 and 4.123

I simply need to retain the trailing zero's. I've tried FMT and playing with with the scale but no luck thus far.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You'd need to target a Char or Varchar field in order to preserve the trailing zeroes.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply