Let's divide 21727 by 37
We want to divide 21727 by 37.

Let's proceed to step 1:
If we divide 2 by 37, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 37

On to step 2:
37 goes into 21 0 times with a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 21 after subtracting 0 from 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 37

On to step 3:
217 divided by 37 is 5 with a remainder of 32.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 32 after subtracting 185 from 217.
Include the next digit (2) from the dividend after 32, then repeat: 322 / 37

Moving on to step 4:
When dividing 322 by 37, we get 8 with a remainder of 26.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
If we subtract 296 from 322, we get 26.
Grab the next digit (7) from the dividend, add it to 26, then carry on: 267 / 37

Going ahead to step 5:
37 can be fit into 267 7 times, resulting in a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 587.0
Deduct 259 from 267 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 6:
When dividing 80 by 37, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 587.2
The remainder is 6 after subtracting 74 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
60 divided by 37 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 587.21
Deduct 37 from 60 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
The number 37 fits into 230 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 587.216
If we subtract 222 from 230, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
37 goes into 80 2 times with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 587.2162
Deduct 74 from 80 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 10:
When dividing 60 by 37, we get 1 with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 587.21621
The remainder is 23 after subtracting 37 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 11:
If we divide 230 by 37, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 587.216216
Subtracting 222 from 230 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
When dividing 80 by 37, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 587.2162162
If we subtract 74 from 80, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 13:
60 divided by 37 is 1 with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 587.21621621
Subtract 37 from 60 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final outcome is 587.21621621, with a leftover of 2.3e-08.