small changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
global using System;
|
||||
global using System.Collections;
|
||||
global using System.Collections.Generic;
|
||||
global using System.Linq;
|
||||
global using System.Text;
|
||||
global using System.Threading.Tasks;
|
||||
global using DTLib.Extensions;
|
||||
|
||||
@@ -144,10 +144,4 @@ public static class StringConverter
|
||||
if (max * length != s.Length) parts.Add(s.Substring(max * length, s.Length - max * length));
|
||||
return parts;
|
||||
}
|
||||
|
||||
public static string AddZeroes<T>(this T number, int length)
|
||||
{
|
||||
string str = number.ToString();
|
||||
return new string('0', str.Length - length) + str;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user