dynamicexpresso / DynamicExpresso

C# expressions interpreter
http://dynamic-expresso.azurewebsites.net/
MIT License
2.02k stars 379 forks source link

Using culture in parser ? #310

Closed FabriceAeby closed 3 months ago

FabriceAeby commented 4 months ago

Hi,

Is is possible to define the culture of the parser ? I've french users that are using a ',' comma to delimit double digits.

Currently I've an exception when evaluating the simple script "2,5 + 10" for example.

Thank for your help and Kind Regards, Fabrice

davideicardi commented 4 months ago

No, I'm sorry. This is not possible because comma is a special character in C#, and Dynamic Expresso try mimic C# language.