Maximum value for Float in Java?

前端 未结 5 618
一整个雨季
一整个雨季 2021-02-05 02:54

The following question indicates that the minimum value of a Double is -Double.MAX_VALUE. Is this also true for Float (i.e., -Float.MAX_VALUE)?

5条回答
  •  别跟我提以往
    2021-02-05 03:19

    Yes, it's also true for Float.

    For more information check the manual here http://download.oracle.com/javase/7/docs/api/java/lang/Float.html

提交回复
热议问题