//float转String
float i = 13.00;
String value = String.valueOf(totalP);
//String转float
String j = "1231.0";
float i = Float.parseFloat(j);
//float转String
float i = 13.00;
String value = String.valueOf(totalP);
//String转float
String j = "1231.0";
float i = Float.parseFloat(j);