"e" in a bunch of numbers

Possible duplicate:
What is the number e + 000

Found 2.4397e6 in the Enum tutorial

Printing result: 2439700.0 , what does e mean? I do not think this is a primitive data type.

+4
source share
2 answers

The indicator is in scientific notation - so the value is 2.4397 x 10 6 .

For more information on floating point literals, see JLS section 3.10.2 .

+8
source

"e" is an indicator in scientific notation.

+1
source

All Articles