If you can help by giving guide to write this using VB, I shall be very glad:

I want to get the quotient and a remainder when one number is divided by another one number, Can you please give/show me the Coding to this problem?

Recommended Answers

All 2 Replies

In vb, MOD is an operator to find Remainder

Dim iRemainder As Integer

iRemainder = 2008 MOD 10              'Here 8 is the Remainder

If you divide one number by another number you get quotient.

Hi selvaganapathy,

Thank you very much for your precious help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.