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

fix Bug 32857 parse 123,45%

parent efe1b8fc
......@@ -3042,11 +3042,10 @@ FormatParser.prototype =
bThouthand = true;
}
}
if (AscCommon.isNumber(val)) {
var dNumber = parseFloat(val);
if (!isNaN(dNumber))
oRes = { number: dNumber, thouthand: bThouthand };
}
if (g_oFormatParser.isLocaleNumber(val, cultureInfo)) {
var dNumber = g_oFormatParser.parseLocaleNumber(val, cultureInfo);
oRes = { number: dNumber, thouthand: bThouthand };
}
}
return oRes;
},
......
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