|
Hi All, I am trying to convert a string datatype to decimal data type using a Data Conversion Transformation. My input is 1200080 my desired output is 12000.80 But what i get is 1200080.00 How do i include last two chars in the string as decimal. Thanks, Nk
(comments are locked)
|
|
In my experience when I have needed to convert a value like 1200080 to 12000.80 I simply multiply by .01 yes , thats how i have done it now.Was just curious to see if there is a proper way to type cast it.
Jul 19 '11 at 05:16 AM
aRookieBIdev
I have yet to encounter one, every time I have tried converting to decimal with adding decimal places it just adds a period and however many zeros I specify to have decimal places.
Jul 19 '11 at 05:37 AM
Tim
(comments are locked)
|


What code are you using to get this output?
I am trying to get this done using expressions in DataConversionTransformation .