We divide 298381 by 40
We want to figure out the number of times 298381 can be divided by 40.

Moving on to step 1:
2 divided by 40 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 40

Step 2:
If we divide 29 by 40, we get 0 and a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 29 leaves us with 29.
Bring next digit (8) of the dividend behind the 29 and repeat the process: 298 / 40

Going ahead to step 3:
If we divide 298 by 40, we get 7 and a remainder of 18.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we take 280 away from 298, we end up with 18.
Include the next digit (3) from the dividend after 18, then repeat: 183 / 40

Step 4:
The number 40 fits into 183 4 times, leaving a remainder of 23.
Use 4 as the next digit of our solution. 
Result so far: 74.0
Deduct 160 from 183 and we're left with 23.
Grab the next digit (8) from the dividend, add it to 23, then carry on: 238 / 40

Moving on to step 5:
When dividing 238 by 40, we get 5 with a remainder of 38.
Use 5 as the next digit of our solution. 
Result so far: 745.0
If we subtract 200 from 238, we get 38.
Take the next digit (1) from the dividend and append it to 38, then repeat: 381 / 40

Going ahead to step 6:
When dividing 381 by 40, we get 9 with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 7459.0
The remainder is 21 after subtracting 360 from 381.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
If we divide 210 by 40, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 7459.5
If we subtract 200 from 210, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 7459.52
Subtracting 80 from 100 leaves us 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.

Going ahead to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 7459.525
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.

Moving on 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: 7459.525
Deduct 0 from 0 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.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 7459.525
Subtract 0 from 0 to 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.

The final outcome is 7459.525, with a leftover of 0.0.