Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
float 値がメソッドを介して textBox.Text に割り当てられると、floatVal.ToString()ローカル カルチャ セパレーターになり,ます。これを防ぐにはどうすればよいですか?
floatVal.ToString()
,
.ToString(CultureInfo.InvariantCulture)少なくとも私の場合、使用するとこの問題が解決します。
.ToString(CultureInfo.InvariantCulture)