Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

reduce to 4 decimals in SSIS

$
0
0

I have a few columns which have float values Eg: 213478.67999999999

it needs to look like 213478.68

It needs to be fixed to have a number with 2 decimal places.

Similarly in other cases it needs to b a number with 4 decimal places which would look like 213478.6799

All these fields are varchar fields.

I need to fix this problem using SSIS, can anyone give me a fix for this problem?

I was thinking of using data conversion block and setting these varchar fields as float with precision 2 and 4 respectively...

Will this work?


Dhananjay Rele


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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