100.0 is not treated as integer, but converted as well, but there is no difference in value between 100 and 100.0, thats why you do not get a warning there. Its a “lossless” conversion.
100.0 is not treated as integer, but converted as well, but there is no difference in value between 100 and 100.0, thats why you do not get a warning there. Its a “lossless” conversion.