EPIsqrt()abs()sin()cos()tan()toRadians(x) 把x由角度值转化为弧度值toDegree(x) 把x由弧度值转化为角度值log()log10()exp()pow()cbrt() 立方根asin()acos()atan()random() 在区间[0,1)上随机提取一个实数sinh()cosh()tanh() Read More
posted @ 2010-09-11 19:46
露初晞
Views(121)
Comments(0)
Diggs(0)
int length(); 返回字符串的长度(包括字符的数量),该函数不需要参数。char charAt(int index); 返回字符串中第index个编号对应的字符(编号从0开始)。int compareTo(String another); 判断两个字符串是否相同,相同则返回0.int compareToIgnoreCase(String str); 判断两个字符串在忽略字母大小写时是否相... Read More
posted @ 2010-09-11 15:06
露初晞
Views(166)
Comments(0)
Diggs(0)
Integer类:基本成员函数:int parseInt (String s); 该函数的功能是把一个字符串s转化为一个整数。String toString (int i);该函数的功能是把一个整数i转化为一个字符串。int parseInt (String s, int radix); 把字符串s转化为一个radix进制的整数。String toString (int i, int radix)... Read More
posted @ 2010-09-11 14:47
露初晞
Views(407)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号