gunakan aja operator pembagian integer (\), dan semua variable (operan
n hasil) bertipe integer juga.

misal : 10/4 --> buat jadi 10 \ 4 --> hasilnya 2

regards
[wwn]

On 8/22/05, M Ridwan Muslim <[EMAIL PROTECTED]> wrote:
> 
> Dear All,
> 
> Maaf,.. saya mau tanya pertanyaan yang sederhana karena saya newbie di VB.
> 1. kalau saya ingin mendapat kah hasil pembagian bulat pakai operator
> apa yaa:
> contoh : 1.   10/4  =:2
>             2.   15/4  = 3
>             3    13/5  = 2
> initinya saya ingin medapatkan hasil bulat tanpa ada koma dan pembulatan
> keaatas atau ke bawah...
> 
> 2. Bagaimana data type yang dipakai untuk bil. yang dibagi, bil.pembagi
> dan hasilnya  ?
> 
> 
> 
> 
> Untuk keluar dari millis ini, kirim email kosong ke:
> [EMAIL PROTECTED]
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hmceb1t/M=362131.6882499.7825260.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124701680/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Programmer-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/
 


Kirim email ke