#318 patch for locale-independent decimal format

None
open
sphinx4 (76)
5
2013-08-03
2009-07-23
Timo Baumann
No

This patches the number formatting in a bunch of classes to always output decimal symbols according to Locale.US
two questions:
1. do we want this? we could also force people to just tell their JVM to run in Locale.US (or Locale.POSIX).
2. there are more classes that use DecimalFormat without Locale.US than the ones I fixed. would you also want those to be fixed?

Discussion

  • Timo Baumann
    Timo Baumann
    2009-07-23

    fix for MemoryTracker, SpeedTracker and Timer

     
    Attachments
  • do we want this?

    To be honest I'm also asking this question. There were no serious complains about commas until now

    there are more classes that use DecimalFormat without Locale.US than
    the ones I fixed. would you also want those to be fixed?

    It should be consistent for sure

     
  • Ticket moved from /p/cmusphinx/patches/61/