Let's divide 940585 by 51
We want to divide 940585 by 51.

Advancing to step 1:
When dividing 9 by 51, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 51

Let's proceed to step 2:
51 goes into 94 1 times with a remainder of 43.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 51 away from 94, we end up with 43.
Fetch the next digit (0) from the dividend, attach it to 43 and continue: 430 / 51

On to step 3:
51 goes into 430 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtract 408 from 430 to get 22.
Include the next digit (5) from the dividend after 22, then repeat: 225 / 51

Let's proceed to step 4:
225 divided by 51 is 4 with a remainder of 21.
Record the quotient 4 as the next digit in the result. 
Result so far: 184.0
Subtract 204 from 225 to get 21.
Bring next digit (8) of the dividend behind the 21 and repeat the process: 218 / 51

On to step 5:
218 divided by 51 is 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 1844.0
The remainder is 14 after subtracting 204 from 218.
Grab the next digit (5) from the dividend, add it to 14, then carry on: 145 / 51

On to step 6:
51 can be fit into 145 2 times, resulting in a remainder of 43.
The number 2 becomes the next digit in our result. 
Result so far: 18442.0
If we take 102 away from 145, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 7:
If we divide 430 by 51, we get 8 and a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 18442.8
If we take 408 away from 430, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 8:
51 can be fit into 220 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 18442.84
Deduct 204 from 220 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
51 goes into 160 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 18442.843
The remainder is 7 after subtracting 153 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 10:
51 goes into 70 1 times with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 18442.8431
Subtracting 51 from 70 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
190 divided by 51 is 3 with a remainder of 37.
The next digit of our result is 3. 
Result so far: 18442.84313
The remainder is 37 after subtracting 153 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 12:
If we divide 370 by 51, we get 7 and a remainder of 13.
The next digit of our result is 7. 
Result so far: 18442.843137
If we take 357 away from 370, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 13:
51 can be fit into 130 2 times, resulting in a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 18442.8431372
If we subtract 102 from 130, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
The number 51 fits into 280 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 18442.84313725
Subtract 255 from 280 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

In conclusion, the division gives 18442.84313725 with a balance of 2.5e-08.