Syntax : Converting String values into Double values
double d1=Double.parseDouble("89223.4234312454");
Syntax : Converting String values into Float values
float f1=Float.parseFloat("2.32323");
Note : Remember that the Float is not a keyword. It is a class name.
0 comments:
Post a Comment