We're dividing 940398 by 37 
Our goal is to divide 940398 by 37.

On to step 1:
9 divided by 37 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 37

Moving on to step 2:
37 goes into 94 2 times with a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 74 from 94 to get 20.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 37

On to step 3:
37 goes into 200 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we subtract 185 from 200, we get 15.
Include the next digit (3) from the dividend after 15, then repeat: 153 / 37

Moving on to step 4:
37 goes into 153 4 times with a remainder of 5.
The next digit of our result is 4. 
Result so far: 254.0
Subtracting 148 from 153 leaves us with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 37

On to step 5:
The number 37 fits into 59 1 times, leaving a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 2541.0
Subtracting 37 from 59 leaves us with 22.
Include the next digit (8) from the dividend after 22, then repeat: 228 / 37

Moving on to step 6:
The number 37 fits into 228 6 times, leaving a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 25416.0
Deduct 222 from 228 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.

On to step 7:
The number 37 fits into 60 1 times, leaving a remainder of 23.
The next digit of our result is 1. 
Result so far: 25416.1
If we take 37 away from 60, we end up 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.

Step 8:
If we divide 230 by 37, we get 6 and a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 25416.16
Deduct 222 from 230 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.

On to step 9:
When dividing 80 by 37, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 25416.162
Subtract 74 from 80 to 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.

Advancing to step 10:
37 goes into 60 1 times with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 25416.1621
If we subtract 37 from 60, we 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.

Let's proceed to step 11:
When dividing 230 by 37, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 25416.16216
If we take 222 away from 230, we end up 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.

Going ahead to step 12:
37 goes into 80 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 25416.162162
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.

Step 13:
The number 37 fits into 60 1 times, leaving a remainder of 23.
The next digit of our result is 1. 
Result so far: 25416.1621621
Subtracting 37 from 60 leaves us 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.

Going ahead to step 14:
230 divided by 37 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 25416.16216216
The remainder is 8 after subtracting 222 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 25416.16216216, with a leftover of 8e-09.