Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
nutpapon_lim
Regular Visitor

Pipeline Data Copy Decimal type values are changed

Hi,

 

I'm trying a simple experiment. I want to copy data from Tables in Lake house to csv Files in the same Lake house.

However, I found that the value of decimal data in Table is changed when it was written into File.

For example, if I have value 0.045 in Table, it will be 0.044999999999999998 in File instead. I just want to write 0.045.

The problem only happens on 3 decimal place values. I have tried to change the file type but it has not helped. 

I have attached the example. Please feedback me how to correct this. 

 

Thank you,

Nutpapon Lim

 

01.png02.png

1 ACCEPTED SOLUTION
spencer_sa
Impactful Individual
Impactful Individual

Looks like a (double) floating point to string conversion issue.  I get the same when I use a Copy Data activity to output some decimals.  Might well be worth raising as a support ticket in Fabric.  As a work around, use the decimal data type instead.

spencer_sa_0-1733357773667.png

If when you have your decimal data stored in the table as the decimal type, you get the following.

spencer_sa_1-1733358435840.png

Floats are marginally worse;

spencer_sa_2-1733359191053.png

 

 

 

Another alternative would be to do the conversion in a Notebook.

If you found this answer helpful, please marks as a Solution to help others find it.

View solution in original post

1 REPLY 1
spencer_sa
Impactful Individual
Impactful Individual

Looks like a (double) floating point to string conversion issue.  I get the same when I use a Copy Data activity to output some decimals.  Might well be worth raising as a support ticket in Fabric.  As a work around, use the decimal data type instead.

spencer_sa_0-1733357773667.png

If when you have your decimal data stored in the table as the decimal type, you get the following.

spencer_sa_1-1733358435840.png

Floats are marginally worse;

spencer_sa_2-1733359191053.png

 

 

 

Another alternative would be to do the conversion in a Notebook.

If you found this answer helpful, please marks as a Solution to help others find it.

Helpful resources

Announcements
June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.