aku kira ini masalah tipe data untuk bungaFas, karena tidak dideklarasikan jadi
dianggap variant. coba deklarasikan dengan tipe data double. mungkin bisa
membantu dan klo aku salah tolong di koreksi.
> jakarta
>
> help me... gue lagi belajar vb.net . terus pas mau pakai
> bilangan yang ada koma nya ..eh langsung di bulatkan ..
> padahal gue butuh .. bilangan komanya .... contoh .. gue
> masukan nilai 22 dibagi 100 hasilnnya 0 maunya sih 0.0183333
> biar bener hasil akhirnya
> and udah tak coba diganti pakai decimal or int16 or int32
> tetap samimawon .. hik hik ..
>
> so please help guys ....
>
> regard
> deddy idrus
>
> Private Sub Button1_Click(ByVal sender As System.Object,
> ByVal e As System.EventArgs) Handles Button1.Click
>
>
>
> Dim periodeFas, bngbulan As Double
>
> Dim bunga1, bunga2 As Double
>
> bunga1 = TextBox4.Text
>
> bunga2 = 100
>
> bungaFas = bunga1 / bunga2
>
> MsgBox(bungaFas)
>
> end sub
>
SPONSORED LINKS
Computer internet security
Computer internet business
Computer internet access
Computer internet privacy securities
Computer internet help
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "indoprog-vb" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Bring words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
[Non-text portions of this message have been removed]
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/