We divide 45487 by 40
We want to divide 45487 by 40.

Step 1:
When dividing 4 by 40, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 40

Step 2:
40 goes into 45 1 times with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 40 from 45 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 40

On to step 3:
40 can be fit into 54 1 times, resulting in a remainder of 14.
The next digit of our result is 1. 
Result so far: 11.0
Subtract 40 from 54 to get 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 40

Going ahead to step 4:
When dividing 148 by 40, we get 3 with a remainder of 28.
Write down 3 as next digit of the result. 
Result so far: 113.0
Subtract 120 from 148 to get 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 40

Advancing to step 5:
40 can be fit into 287 7 times, resulting in a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 1137.0
Subtracting 280 from 287 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 6:
40 goes into 70 1 times with a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 1137.1
Deduct 40 from 70 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 7:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 1137.17
If we subtract 280 from 300, we 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 goes into 200 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1137.175
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.

Let's proceed to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1137.175
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 1137.175
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.

The quotient of the division is 1137.175, and the remainder is 0.0.