Re: [VBA ]textbox問題

看板Visual_Basic作者 (chuliu)時間16年前 (2009/10/08 19:39), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
dim t1 as integer 如果textbook是整數的話 試試看 : dim t1 as single : dim t2 as single : t1=textbox1 : t2=textbox2 : 但是數值一直會帶很奇怪的小數 : 例如 266.3-266.0 會是0.29998779296875 : 不知道是什麼原因? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 58.152.136.95
文章代碼(AID): #1ApSz_JX (Visual_Basic)
討論串 (同標題文章)
文章代碼(AID): #1ApSz_JX (Visual_Basic)