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.
stringafloatを .Net Micro Framework でaに変換するにはどうすればよいですか?
string
float
文字列は次のようにフォーマットされます。"38.5000"
"38.5000"
答えは、ではなくDouble、代わりに -を使用することdouble.Parseです。途中で私を助けてくれたJon Skeetに感謝します.
Double
double.Parse
float f = Convert.ToSingle("38.5");