Commit 8363536825e128f8e6564a396f32d94471a7f2a8
1 parent
8c4736a0e9
Exists in
master
and in
6 other branches
体重管理相关代码
Showing 1 changed file with 1 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MathUtil.java
View file @
8363536
| ... | ... | @@ -56,16 +56,11 @@ |
| 56 | 56 | public static List<Double> doubleFormat2(List<Double> list) { |
| 57 | 57 | List<Double> restList = new ArrayList<>(); |
| 58 | 58 | if(CollectionUtils.isNotEmpty(list)) { |
| 59 | - for (Double d : restList) { | |
| 59 | + for (Double d : list) { | |
| 60 | 60 | restList.add(doubleFormat2(d)); |
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | return restList; |
| 64 | - } | |
| 65 | - | |
| 66 | - public static void main(String[] args) { | |
| 67 | - Double d = 0.0533; | |
| 68 | - System.out.println(doubleFormat2(d)); | |
| 69 | 64 | } |
| 70 | 65 | |
| 71 | 66 | /** |