Forum Replies Created
- Shailesh Kumar GautamParticipant
Actually when we compare, compiler checks the type.. one u declared as float and other is number.. the default one the compiler takes in decimal format as double.. So, in representation double as 8 bytes and accurate value is entered.. while float contains 4 bytes and is comparitively less accurate than double.. So, double having atleast some minute value greater than float value.. thats why its value is true and hence value is one..