I'm ready to patch this issue, but I went the other way -- fixed the
output to use Locale.ENGLISH.
Either way works, what's preferred to you guys? Is it making the
output deterministic, or locale-friendly? I opted for fixing it to
Locale.ENGLISH because I like not depending on the platform, and
be
(BCC mahout-user, moving to mahout-dev)
Alrighty I think the subtlety here is that:
String.format("%.2f", foo)
... will format numbers in a locale-specific way. I think we need:
String.format(Locale.ENGLISH, "%.2f", foo)
(Sorry to be English-centric, but we have to pick one locale in order
to