Skip to content

Commit 368f41e

Browse files
author
Sébastien Geiser
committed
culture default value
1 parent 6ff9f05 commit 368f41e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************************************
22
Title : ExpressionEvaluator (https://github.com/codingseb/ExpressionEvaluator)
3-
Version : 1.3.3.2
3+
Version : 1.3.3.3
44
(if last digit (the forth) is not a zero, the version is an intermediate version and can be unstable)
55
66
Author : Coding Seb
@@ -786,6 +786,7 @@ public ExpressionEvaluator()
786786
Assemblies.AddRange(AppDomain.CurrentDomain.GetAssemblies());
787787
instanceCreationWithNewKeywordRegex = new Regex(InstanceCreationWithNewKeywordRegexPattern);
788788
numberRegex = new Regex(string.Format(numberRegexPattern, @"\."), RegexOptions.IgnoreCase);
789+
cultureInfoForNumberParsing.NumberFormat.NumberDecimalSeparator = ".";
789790
castRegex = new Regex(CastRegexPattern);
790791
}
791792

0 commit comments

Comments
 (0)