将1变成000001,123变成000123,前导添0,变成固定的6为数字
dim a as integer = 1 a = a.Tostring("D6") 'Decimal b= a.Tostring("X6") 'Hex参考MSDN https://msdn.microsoft.com/zh-cn/library/dd260048(v=vs.110).aspx
将1变成000001,123变成000123,前导添0,变成固定的6为数字
dim a as integer = 1 a = a.Tostring("D6") 'Decimal b= a.Tostring("X6") 'Hex参考MSDN https://msdn.microsoft.com/zh-cn/library/dd260048(v=vs.110).aspx