mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
删除无用代码
This commit is contained in:
parent
6ea24f4d64
commit
45fa1043eb
@ -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代表总共是几位数
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user