I'm facing issues understanding typecasting in the case of floats and doubles
float a = 9.8f; 
double b = g; 
double c = 9.8; 
System.out.println(b); 
System.out.println(c);
Output -
9.800000190734863 
9.8
Why is there extra stuff present in the case of b? From where do the extra decimals come from?
 
    