私は次のものを持っています:
private static string someValue = "0.1";
計算を行うには、これを double に変換する必要があります。ドイツのシステムでは、0.1 ではなく 0.1 として変換されます。0.1 が必要です。私は次のことを試しました:
double d = Convert.ToDouble(s_valueDeadband10Percent, CultureInfo.InvariantCulture.NumberFormat); // still getting 0,1
と
double d = Convert.ToDouble(s_valueDeadband10Percent, CultureInfo.InvariantCulture); // still getting 0,1
何か案は ?