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

On to step 1:
40 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 40

Going ahead to step 2:
When dividing 22 by 40, we get 0 with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 22, we get 22.
Include the next digit (8) from the dividend after 22, then repeat: 228 / 40

Going ahead to step 3:
40 can be fit into 228 5 times, resulting in a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtract 200 from 228 to get 28.
Fetch the next digit (8) from the dividend, attach it to 28 and continue: 288 / 40

Advancing to step 4:
If we divide 288 by 40, we get 7 and a remainder of 8.
Write down 7 as next digit of the result. 
Result so far: 57.0
The remainder is 8 after subtracting 280 from 288.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 40

On to step 5:
84 divided by 40 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 572.0
Deduct 80 from 84 and we're left with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 40

On to step 6:
46 divided by 40 is 1 with a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 5721.0
Subtract 40 from 46 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
40 goes into 60 1 times with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 5721.1
Deduct 40 from 60 and we're left 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.

Step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 5721.15
Deduct 200 from 200 and we're left 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.

Going ahead to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 5721.15
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.

Let's proceed to step 10:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5721.15
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.

After the division, we end up with 5721.15 and a remainder of 0.0.