Commit d0c116f4 authored by Sergey Konovalov's avatar Sergey Konovalov Committed by GitHub

fix Bug 32857 parse 123,45%

parent efe1b8fc
...@@ -3042,9 +3042,8 @@ FormatParser.prototype = ...@@ -3042,9 +3042,8 @@ FormatParser.prototype =
bThouthand = true; bThouthand = true;
} }
} }
if (AscCommon.isNumber(val)) { if (g_oFormatParser.isLocaleNumber(val, cultureInfo)) {
var dNumber = parseFloat(val); var dNumber = g_oFormatParser.parseLocaleNumber(val, cultureInfo);
if (!isNaN(dNumber))
oRes = { number: dNumber, thouthand: bThouthand }; oRes = { number: dNumber, thouthand: bThouthand };
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment