487950 divided by 40 
Our goal is to divide 487950 by 40.

Step 1:
40 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 40

On to step 2:
40 goes into 48 1 times with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 40 from 48 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 40

Going ahead to step 3:
If we divide 87 by 40, we get 2 and a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 80 from 87, we get 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 40

Going ahead to step 4:
40 can be fit into 79 1 times, resulting in a remainder of 39.
The next digit of our result is 1. 
Result so far: 121.0
If we take 40 away from 79, we end up with 39.
Fetch the next digit (5) from the dividend, attach it to 39 and continue: 395 / 40

Let's proceed to step 5:
40 can be fit into 395 9 times, resulting in a remainder of 35.
Put 9 as the next digit of the answer. 
Result so far: 1219.0
Deduct 360 from 395 and we're left with 35.
Take the next digit (0) from the dividend and append it to 35, then repeat: 350 / 40

On to step 6:
If we divide 350 by 40, we get 8 and a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 12198.0
Subtract 320 from 350 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
If we divide 300 by 40, we get 7 and a remainder of 20.
The next digit of our result is 7. 
Result so far: 12198.7
Subtract 280 from 300 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 12198.75
If we subtract 200 from 200, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 12198.75
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 12198.75
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 12198.75 with a remaining 0.0.