scalala/Scalala — Issue #35: StorageTest fails in some Locales
Author: nadezhin
Created: 2011-12-19 10:45:06+00:00
State: open

scalala.Library.Storage.storetext prints doubles considering the default Locale.
Russian Locale uses decimal comma instead of decimal point: "1,5" instead of "1.5" .
scalala.Library.Storage.loadtext can't parse "1,5" and fails .

Possible fix: use String.format(Locale.ROOT, "%.15e", v) in scalala.Library.Storage.storetext .