Java-Floating Point

Floating Point Types Integer types can hold only whole numbers and therefore we use another type known as floating point type to hold numbers containing fractional parts such as 50.55 and 2.344.¬†There are two kinds of floating point storage in Java. Type Size Description float 4 byte The type float specifies a single-precision value. Variable … Read more…