connamara/quickfixn — Issue #21: DecimalConverter Convert issue
Author: karabiberoglu
Created: 2012-01-04 08:01:36+00:00
State: open

if CurrentCulture property is different than English(for example Turkish), convert method is not working properly.
To achieve this issue, you can change current thread CurrentCulture property to english culture before calling Message.GetDecimal() method.

To solve this issue, in Convert method on QuickFix.Fields.Converters.Convert class, Line System.Convert.ToDecimal(d) should be changed to System.Convert.ToDecimal(d, CultureInfo.InvariantCulture).