Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: Decimal Separator Error in system matrix

$
0
0

Hi Michele,

 

Changes "System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator" by SAP B1 DecimalSeparator, for use this information, you need be connected in the company with DI API too.

 

Try this:

 

double d1 = 11.2; 
var oAdminInfo = oCompany.GetCompanyService().GetAdminInfo();
EditText oEdit= (SAPbouiCOM.EditText) oMatrix.Columns.Item("U_Col_1").Cells.Item(pVal.Row).Specific;  
oEdit.Value = d1.ToString().Replace(".", oAdminInfo.DecimalSeparator);

 


Best regards,

Diego Lother


View Diego Lother's profile on LinkedIn


Viewing all articles
Browse latest Browse all 3510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>