Does anyone know how to retrieve the system attributes. I am specifically looking for what the decimal has been set to. The reason I ask is because not all people use the "." for the decimal and I don't want to hardcode that. I think in Europe they use the ",".

string strParmValue = parmValue.ToString();

int decimalPosition = strParmValue.IndexOf ("."); // Hard-coded decimal
if (decimalPosition == -1)
return -1;
strParmValue = strParmValue.Substring (decimalPosition + 1);

return strParmValue.Length;

I am basically looking for the decimal and returning the number of positions after it.

Thanks