Menu ▾ ▴

#392 Proper locale handling

0.3.35
open
nobody
None
addition
All
2026-10-25
2026-10-25
No

I recently changed my local settings (switched the decimal and thousand numbers separators comma and dot). Then, unit tests started failing.

Should be properly handled and probably indicates an end user problem as well
(using comma as decimal separator should also work properly).

Discussion

  • Eric Raijmakers

    Eric Raijmakers - 2026-10-25

    Typical failing example:
    ASSERT_EQUALS(Details().getSpeedSpin()->GetValue(), 50.0);

    GetValue() returned 5000 (decimal separator ignored)

     
  • Eric Raijmakers

    Eric Raijmakers - 2026-10-25
    • summary: Proper locale handlnig --> Proper locale handling
     

Log in to post a comment.