I tried again in other cases:
i tried to insert the value in a system column (like the column "14" for the unit price) and the value is entered correctly ("11,2")
with the same code but using a udf the value entered is wrong (112,00):
here is the code
string val = "11.2"; oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("14").Cells.Item(oMatrix.RowCount-1).Specific; oEditText.Value =val.Replace(".", System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator.ToString()); // the value entered is "11,2" oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("U_Col_1").Cells.Item(oMatrix.RowCount - 1).Specific; oEditText.Value = val.Replace(".", ","); // the value entered is "112.0"
So the problem is only with columns representing UDF..
Thansk,
Michele