Andrey Bykiev

Results 271 comments of Andrey Bykiev

> @Bykiev Parlot is now at v1 with Number parsers, we can give a try again It seems with cultures where comma is decimal separator it's not possible to use...

I've made it draft and opened an issue https://github.com/dotnet/BenchmarkDotNet/issues/2574

As InProcess toolchain is not supporting benchmarking with NuGet package we can run it on CI when building separate executables

@shockfield, fill free to close the issue if it is resolved

> Hey, can you send your expression so I can write a unit test and fix your problem? ``` var culture = CultureInfo.GetCultureInfo("RU-ru"); var expression = new Expression("3,1 + 1,9",...

@csindile-panaya, you should prepare the expression by replacing the comma with a dot. Basically thousand separator is just a formatting and shouldn't be used in NCalc expression.

@thetreatment, feel free to close the issue if the problem is resolved

From my point of view, you should use a precompiled expression instead https://ncalc.github.io/ncalc/articles/lambda_compilation.html

This is supported now with `ExpressionOptions.OverflowProtection`

You can also use array parameters like this: https://github.com/ncalc/ncalc/blob/08994e2c366d4f2621aeea461c0e12ac1448dbf4/test/NCalc.Tests/Fixtures.cs#L535-L544