mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
删除无用代码
This commit is contained in:
@@ -76,14 +76,4 @@ public class MathUtil {
|
|||||||
public static List<String[]> combinationSelect(String[] datas, int m) {
|
public static List<String[]> combinationSelect(String[] datas, int m) {
|
||||||
return new Combination(datas).select(m);
|
return new Combination(datas).select(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 将当前数字转换为几位数字,不足前面补0
|
|
||||||
* @param number 要转换的数字
|
|
||||||
* @param count 转换为几位数,不足前面补0
|
|
||||||
* @return 转换后的数字
|
|
||||||
*/
|
|
||||||
public static String convertNumToDigitString( int number,int count) {
|
|
||||||
return String.format("%"+count+"d", number).replace(" ", "0");//5代表总共是几位数
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user