Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
String s="150";
int n=Integer.valueOf(s);
System.out.print(n+150.9242);
According to the datatype it shouldnt print the decimal right ?? ( int wil never print decimal values like double and float right ) then how come the above code is printing it ......That too output is 300.92420000000004......HOw how |
|
asked by MP Harsha (student58) 8 years ago |
2 |
anybody post some output questions... |
|
asked by Ishanuj Hazarika (ishanuj99) 8 years ago |
1 |
Wat plans do u have after boards? |
|
asked by Kalyani Bhakat (kalyanibhakat) 8 years ago |
1 |
Hi everybody how many of them are ready for exam and say which exam u r writing |
|
asked by Chirayu Rai (chirayurai) 8 years ago |
2 |
What is meant by composite data type and reference data type?? |
|
asked by Adarsh Srivastav (adarsh123890) 8 years ago |
1 |
guyz any commercial application ??? |
|
asked by Mira Sree (balamirasree) 8 years ago |
1 |