Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
string_of_float and float_of_string are locale dependent #6701
Original bug ID: 6701
for example, Yojson will be unable to read/parse JSON containing floats.
Comment author: @xavierleroy
I'm postponing this PR to 'later', as there is no simple solution. For reference, here are some options:
Comment author: @ygrek
strtod_l will work, but afaics in 2017 there is no obvious solution for linux to printf floats in locale-independent way..