Java Floating Point Operations
suggest changeIntroduction
Floating-point types can represent fractional values. Java has two primitive floating-point types: float (32-bit IEEE 754, usually 4 bytes) and double (64-bit IEEE 754, usually 8 bytes). This page gives examples of operations on those values.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents