问题
Possible Duplicate:
What number is e+000
Found 2.4397e6
in Enum tutorial
Result from printing that: 2439700.0
, what does the e
mean? I don't think it's primitive data type though.
回答1:
It's the exponent in scientific notation - so that value is 2.4397 x 106.
See the JLS section 3.10.2 for precise details on floating point literals.
回答2:
"e" is a exponent in scientific notation .
来源:https://stackoverflow.com/questions/13759415/e-in-a-bunch-of-numbers