This topic is selected from the blog of CLR team member Kathy Kam.
Please do not compile and run the followingCode, Indicating the running result.
Class Mainprogram
{
Static Void Main ( String [] ARGs)
{
Double A = Convert. todouble ( " 1.170404 " );
Double B = Convert. todouble ( " 2.170404 " );
Double C = Convert. todouble ( " 3.170404 " );
Double D = Convert. todouble ( " 4.170404 " );
Console. writeline ( = 1.170404 ));
Console. writeline (B = 2.170404 ));
Console. writeline (c = 3.170404 ));
Console. writeline (d = 4.170404 ));
}
}
(If you think this question is very simple, you may wish to give it a try after guessing the answer. However, as many experts in the garden, it should be easy to answer this question, so please do not despise me too much)
Supplement:
Please try again 5.170404, 170404, 7.170404, 8.170404 ......
Then draw conclusions.