Open nadezhin opened 12 years ago
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 .
AFAIK the Storage trait/object are only temporary and will go away one day.
@dramage @dlwh Maybe mark Storage as deprecated?
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 .