@@ -79,7 +79,7 @@ public class QueryAirportMsgByIdService { | |||
//实时电压值大于现在电压最小值 | |||
double vol = (temp - Umin) / (Umax - Umin); | |||
String percent = CommonNumberTypeUtils.getPercentFormat(vol, Integer.MAX_VALUE, 2); | |||
vo.setVoltage(percent + "%"); | |||
vo.setVoltage(percent); | |||
}else { | |||
vo.setVoltage(0 + "%"); | |||
} |