outputs 123.45. zero(0) is gone. what am i doing wrong? thanx...PHP Code:class Document3{
public static void main(String args[]){
String s="123.450";
System.out.println(Float.parseFloat(s));
}
}
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |