Quantcast
Channel: Examples Java Code Geeks » primitives
Viewing all articles
Browse latest Browse all 8

float

$
0
0
In this example we shall show you how to use a float type in Java. The float data type is a single-precision 32-bit IEEE 754 floating point. Use a float (instead of double) if you need to save memory in large arrays of floating point numbers. This data type should never be used for precise values, ...

Viewing all articles
Browse latest Browse all 8

Trending Articles