像是輸入1 顯示要0001. 如何做? Dim k as string="1" textBox1.Text = k.PadLeft(8, "0"). 結果:00000001. 要注意k必須為字串. 之後記得再轉回數字就號(val(字串)) ...
確定! 回上一頁