Internet °ü·Ã ÀÚ·á |
---|
Á¦¸ñ | [JAVA] Integer Class 1998/09/30 (13:01) |
À̸§ | ±èÈ¿¿ø |
¹øÈ£ | 28 |
Á¶È¸ | 393 |
º»¹® |
The Integer and Long classes wrap the fundamental integer types int and long and provide a variety of methods for working with integer numbers. static int parseInt(String s, int radix) static int parseInt(STring s) long longValue() float floatValue() double doubleValue() static Integer getInteger(String name) Static Integer getInteger(String name, int val) Static Integer getInteger(String name, Integer val) Integer i=new Integer(17) float f=i.floatValue() //f=17.0 |