vincentlaucsb / csv-parser

A high-performance, fully-featured CSV parser and serializer for modern C++.
MIT License
901 stars 150 forks source link

float values with leading '+' are not recognized #213

Closed goranobradovic1 closed 4 months ago

goranobradovic1 commented 1 year ago

Leading plus signs ('+') seems to be unsupported in the data_type(...) function in the csv.hpp, so in this example all numbers are classified as DataType::CSV_STRING.

+60.00000, +1.24889, +0.00000 +60.01000, +0.24978, +0.00000 .....

Best regards Goran

vincentlaucsb commented 4 months ago

Thanks for your report. This has been fixed in the latest version.