-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Milestone
Description
NPOI Version
latest
File Type
- XLSX
- XLS
- DOCX
- XLSM
- OTHER
Steps to reproduce
Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("ru-RU");
var res = NumberToTextConverter.ToText(1234.56);
Issue Description
NumberToTextConverter ignores locale and FormatGreaterThanOne, FormatLessThanOne always using dot as decimal separator, that's why DataFormatter fails in cultures with comma separator. To resolve the issue the new ToText(double value, CultureInfo locale) overload should be added.
Reactions are currently unavailable