(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 guarantee behavior, and this seems the most reasonable default.) Thoughts, dev? On Mon, Apr 5, 2010 at 10:32 PM, Sean Owen <sro...@gmail.com> wrote: > No, not at all. You can try the locale settings I suggested only to > verify that using an English locale resolves the problem. > > But that is not the fix. It ought to run fine in any locale. Then we > look at how to fix the code to not depend on any locale-specific > number formatting. > > On Mon, Apr 5, 2010 at 10:27 PM, Sergio <ser...@jovenclub.cu> wrote: >> Sean Owen <srowen <at> gmail.com> writes: >> >> >>> Ah yeah that's it. The decimal and thousands separator are switched, >>> generally, in Spanish-speaking countries. >>> >> >> So what to do ? reinstall my debian in English? >> >> >