C# string转double,double转string

string转double

string str_test_wall;

double numDouble = double.Parse(str_test_wall );

 

double转string

double numDouble = 123.321;

string str_test_wall = Convert.ToString(numDouble);

 

 

你可能感兴趣的:(VC#)