功能:将Float类型的数据转为String类型
X:要转换的数据
Len:小数点后保留几位
返回值:转换结果
例:
float x = 9.9;
String S = FloatToString(x,2);
S的结果为:“9.90”