[求助]数值转换的 内部函数的问题~ Post By:2013/1/13 16:05:00 [显示全部帖子]
我项目里有一个数值转换的内部函数! 代码如下:
Dim Val As String = Args(0) Dim cs() As String = New String() { "1","2","3","4","5","6","7","8","9"} Dim ns() As String = New String() {"01","02","03","04","05","06","07","08","09"} If Args(0) < 10 Then For n As Integer = 0 To cs.Length -1 If cs(n) = Args(0) Then Return ns(n) End If Next Else Return Args(0) End If