In need to read Excel A13 value when the value has single value ie 12345 it is accepting in double and not accepting in string but if it has two value ie12345,12456 it is accepting in string not in double how to resolve this in UiPath
Are you using Read Cell activity? If yes, one option would be get the value in string and then convert it into the desired datatype.
If anything else, please share some more context.
If I get the single value in string it is throwing error as cannot convert from double
When comma is the decimal seperator (check within debug and debugging panels)
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum
then we can convert / check by
Double.Parse("12345,12456", System.Globalization.CultureInfo.CreateSpecificCulture("de-DE"))
Double.TryParse("12345,12456",NumberStyles.Any,System.Globalization.CultureInfo.CreateSpecificCulture("de-DE").NumberFormat,nothing)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.