Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyword decimal not respected for AbstractFloats in CSV.write() #1108

Open
sara2512 opened this issue Aug 15, 2023 · 0 comments · May be fixed by #1109
Open

Keyword decimal not respected for AbstractFloats in CSV.write() #1108

sara2512 opened this issue Aug 15, 2023 · 0 comments · May be fixed by #1109

Comments

@sara2512
Copy link

Currently DecFP.Dec64 Floats are not handled correctly. Decimal character is not replaced.

using DecFP
using DataFrames
using CSV

io = IOBuffer() 
CSV.write(io, DataFrame(:a => Dec64(1)); decimal = ',')
String(take!(io))
# "a\n1.0\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant