We're dividing 50865674 by 940 
We want to divide 50865674 by 940.

Going ahead to step 1:
940 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 940

Going ahead to step 2:
940 can be fit into 50 0 times, resulting in a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Bring next digit (8) of the dividend behind the 50 and repeat the process: 508 / 940

Moving on to step 3:
The number 940 fits into 508 0 times, leaving a remainder of 508.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 508 leaves us with 508.
Fetch the next digit (6) from the dividend, attach it to 508 and continue: 5086 / 940

Going ahead to step 4:
The number 940 fits into 5086 5 times, leaving a remainder of 386.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 4700 from 5086, we get 386.
Bring next digit (5) of the dividend behind the 386 and repeat the process: 3865 / 940

Moving on to step 5:
When dividing 3865 by 940, we get 4 with a remainder of 105.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
If we take 3760 away from 3865, we end up with 105.
Bring next digit (6) of the dividend behind the 105 and repeat the process: 1056 / 940

Advancing to step 6:
1056 divided by 940 is 1 with a remainder of 116.
The number 1 becomes the next digit in our result. 
Result so far: 541.0
If we subtract 940 from 1056, we get 116.
Append the next digit (7) from the dividend to 116 and continue with: 1167 / 940

Step 7:
940 goes into 1167 1 times with a remainder of 227.
Write down 1 as next digit of the result. 
Result so far: 5411.0
If we subtract 940 from 1167, we get 227.
Take the next digit (4) from the dividend and append it to 227, then repeat: 2274 / 940

Going ahead to step 8:
The number 940 fits into 2274 2 times, leaving a remainder of 394.
The number 2 becomes the next digit in our result. 
Result so far: 54112.0
The remainder is 394 after subtracting 1880 from 2274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3940, and continue the process.

Step 9:
The number 940 fits into 3940 4 times, leaving a remainder of 180.
Put 4 as the next digit of the answer. 
Result so far: 54112.4
The remainder is 180 after subtracting 3760 from 3940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

On to step 10:
When dividing 1800 by 940, we get 1 with a remainder of 860.
The number 1 becomes the next digit in our result. 
Result so far: 54112.41
The remainder is 860 after subtracting 940 from 1800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8600, and continue the process.

Advancing to step 11:
The number 940 fits into 8600 9 times, leaving a remainder of 140.
The number 9 becomes the next digit in our result. 
Result so far: 54112.419
Deduct 8460 from 8600 and we're left with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Going ahead to step 12:
When dividing 1400 by 940, we get 1 with a remainder of 460.
Put 1 as the next digit of the answer. 
Result so far: 54112.4191
If we subtract 940 from 1400, we get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Going ahead to step 13:
940 can be fit into 4600 4 times, resulting in a remainder of 840.
Record the quotient 4 as the next digit in the result. 
Result so far: 54112.41914
Subtract 3760 from 4600 to get 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8400, and continue the process.

On to step 14:
940 goes into 8400 8 times with a remainder of 880.
Write down 8 as next digit of the result. 
Result so far: 54112.419148
Deduct 7520 from 8400 and we're left with 880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8800, and continue the process.

Advancing to step 15:
940 can be fit into 8800 9 times, resulting in a remainder of 340.
Record the quotient 9 as the next digit in the result. 
Result so far: 54112.4191489
If we take 8460 away from 8800, we end up with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Advancing to step 16:
940 can be fit into 3400 3 times, resulting in a remainder of 580.
Record the quotient 3 as the next digit in the result. 
Result so far: 54112.41914893
The remainder is 580 after subtracting 2820 from 3400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Our division results in 54112.41914893 with a remaining 5.8e-07.