Merhaba.
Resimdeki textboxa ondalık sayı girince tam sayı olarak sonuç çıkıyor.
Mesela 0,73 textboxa yazıp güncelle yapınca 1 olarak sonuç çıkıyor.
Acaba çözüm nasıldır?
Saygılar.
![Photo](images/icons/photo.png)
Dim b, c, d, x, f As Single
Dim sql As New String("update Tablo1 set [dd]='" & aa & "',[ee]='" & b & "',[ff]='" & c & "',[gg]='" & d & "' ,[hh]='" & x & "',[jj]='" & f & "',[kk]='" & g & "' where [id]= " & id_no & "")
Dim sql As New String("insert into Tablo1 ([dd],[ee],[ff],[gg],[hh],[jj],[kk]) values ('" & aa & "','" & b & "','" & c & "','" & d & "','" & x & "','" & f & "','" & g & "') ")
Dim b, c, d, x, f As Decimal