+ 1

{Tips For Java} Floating-point numbers {beginners}

Floating-point numbers, are numbers which can represent fractions as well as integers. In Java, the default floating-point type is called double, which is short for double-precision. Here are few points that you need to know about it: The integer value 1 is different from the floating-point value 1.0, even though they seem to be the same number. They belong to different data types, and strictly speaking, you are not allowed to make assignments.

29th Aug 2017, 7:48 PM
Real Coders
Real Coders - avatar
2 ответов
+ 4
Tough crowd. I guess decimal point jokes are too cool. lol :D I didn't make the pun, I simply.... POINTed it out. BAM! *drops the mic*
29th Aug 2017, 8:09 PM
AgentSmith
+ 2
lol "Here is a few POINTS that you need to know about it" You're clever even when you don't realize it. :D
29th Aug 2017, 7:51 PM
AgentSmith