“e” in a bunch of numbers [duplicate]

≯℡__Kan透↙ 提交于 2019-12-20 01:09:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!