标签:ret valueof int turn string val == ble big
public String getHourByMinute(int minute) { if(minute % 60 == 0) { return String.valueOf(minute / 60); } double m = Double.valueOf(minute); BigDecimal bd = new BigDecimal(m / 60).setScale(1,BigDecimal.ROUND_HALF_UP); return String.valueOf(bd); }
标签:ret valueof int turn string val == ble big
原文地址:https://www.cnblogs.com/huoyufei/p/11389376.html