Tool to make an euclidian division automatically. Euclidian division is an arythmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to make an euclidian division automatically. Euclidian division is an arythmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

Answers to Questions

How to calculate the quotient of the euclidian division?

Quotient q is the integer part of the division a/b

How to calculate the remainder of the euclidian division?

Rest is the result of $$ r=a-q*b $$

How to make the remainder a positive value?

Substract 1 to the quotient and add it to the negative remainder.

If A=15, B=4, then ou can say Q=4, R=-1 because B*Q+R=4*4-1=15=A.

You can also take Q=(4-1)=3 and then have R = 3 (positive) and B*Q+R=4*3+3=15=A

Why the name Euclidian Division?

The name comes from Euclid, a mathematician.

What are the limits of this software?

This software is not limited, it can calculated with any number, including big numbers with arbitrary precision

Ask a new question

Source code

dCode retains ownership of the source code of the script Euclidian Division. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Euclidian Division script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK