ExpressionParser - Conversion error with decimal separator ","

Issue #355 resolved
Giovane Preis created an issue

When DecimalSeparator is different from "." the float conversion does not occur.
In Brazil, for example, DecimalSeparator by default is "," in FormatSettings.
I suggest following what is at https://github.com/WladiD/ExprParser where own FormatSettings are used internally forcing the use of "." as DecimalSeparator.
Attached is an altered file with necessary adjustment.

Comments (5)

  1. Giovane Preis reporter

    Excuse me, it really is incorrect.

    The problem is actually in the "Spring.Data.ExpressionParser.pas" file.
    Follows correct file.

  2. Log in to comment