整形
-
字符串转换
String IntToString(int x)
功能:将
int
型的数据转换为字符串。
X
:要转换的数据
返回值:转换结果
例:
int x = 3
;
String S = IntToString(x);
S
的结果为:“
3
”