I have String in my code,
String s=“50.00”
how can i convert this string to double value?
I have String in my code,
String s=“50.00”
how can i convert this string to double value?
Thanks.
You can convert it by Double.valueOf(String s)
String s = "50.00"
double d = Double.valueOf(s)