public static void setSepDecimal()
{
float n;
float.TryParse("1.000", out n);
if (n == 1)
{
m_sepDecimal = ".";
}
else
{
float.TryParse("1,000", out n);
if (n == 1)
{
m_sepDecimal = ",";
}
}
if (m_sepDecimal == "")
{
throw new KernelException(
C_MODULE,
"The decimal symbol could not be determined."
+ "Check in 'control panel/reginal settings' "
+ "that the values in the Numbers tab match the values "
+ "in the Currency tab for field 'decimal symbol' and "
+ "'Digit grouping symbol'. ");
}
}