I am using COnnection.GetSingleProperty to read the value of "RiskIndex" from "AERole" table and the risk index is "0.01". Connection.GetSingleProperty as Double returns 0 instead of 0.01. How to handle this?
What are your culture settings (Windows culture) when you execute the script? I assume your number format has something to do with that.
Did you mean Language for non unicode programs? It is "English(United States)" as of now
As our tools are unicode programs, the system culture. Is it en-us?
Forgot, can you post the code you used to convert to double?
yes it is en-us and below is my code
Dim rolerisk As Double = Connection.GetSingleProperty("AERole","RiskIndex",f.Comparison("Ident_AERole", rolename,ValType.String, CompareOperator.Equal)).Double