+ 1
how to use data type float with switct ?
The condition be able have point value (weight) But switch can't accept value float,double . How to chage float to string ? Please Help comment
3 Respostas
+ 1
float f = 13.5f;
string s = f.ToString("R");
is the way to do it.
+ 1
Oh thank you for sharing
0
Np, mark as done?