Decimal separator issue

My application runs with regional settings where decimal separator is comma (",").
When I call any TMS test client application which uses a float parameter and I enter a value with comma I get an error 500 (ConvertFromUrlError): "Cannot deserialize value "77,77" from Url format.

Ok I could use FormatSettings.DecimalSeparator := '.'
But this is valid for the application globally and I'm not sure if it's a good way todo it (bad user experience).
Is XData not handling different DecialSeperator values (used by different countries)?

How are you passing the 77,77 value to XData from the client?

var d: Double;
d := 77.77;

We were able to reproduce this. It looks it's a regression. Next version will fix this. Thank you for reporting.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.