The Shift Around Decimal Separator Issue

by Jule 41 views
The Shift Around Decimal Separator Issue

The Toolkit relies on a period as the decimal separator - critical for parsing INP files correctly - but fails when users run Linux-based clients with a comma-first locale. This mismatch causes read and write errors, even though the Toolkit itself uses C’s default period formatting. The problem surfaces in international settings like Denmark, where UI displays stay accurate with commas, yet data ingestion breaks. nnHere’s the core fix: add `setlocale(LC_NUMERIC,