 |
數值轉字串,不足的位數補零 - 孤影棧- 點部落
Function FillZero(intValue, intLen) If Len(intValue) < intLen Then FillZero = String(intLen - Len(intValue), "0") & intValue Else FillZero = Left(CStr(intValue), intLen) ... 後來在寫ASP.Net時也是需要這樣的轉換, 所以就直接將FillZero的函數改成vb.net的, 雖然這樣也是 ...
www.dotblogs.com.tw |
 |