We divide 46031 by 40
Let's see how many times 40 fits into 46031.

Advancing to step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 40

On to step 2:
46 divided by 40 is 1 with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 40 away from 46, we end up with 6.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 40

Moving on to step 3:
60 divided by 40 is 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtract 40 from 60 to get 20.
Grab the next digit (3) from the dividend, add it to 20, then carry on: 203 / 40

Let's proceed to step 4:
40 goes into 203 5 times with a remainder of 3.
Write down 5 as next digit of the result. 
Result so far: 115.0
Subtract 200 from 203 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 40

Let's proceed to step 5:
If we divide 31 by 40, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 1150.0
Deduct 0 from 31 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 6:
40 goes into 310 7 times with a remainder of 30.
The next digit of our result is 7. 
Result so far: 1150.7
Deduct 280 from 310 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.

Going ahead to step 7:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 1150.77
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 1150.77 and a remainder of 0.02.