We're dividing 237118 by 40 
Let's see how many times 40 fits into 237118.

Let's proceed to step 1:
When dividing 2 by 40, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 40

Step 2:
40 goes into 23 0 times with a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 23 and we're left with 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 40

On to step 3:
When dividing 237 by 40, we get 5 with a remainder of 37.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 200 from 237 leaves us with 37.
Take the next digit (1) from the dividend and append it to 37, then repeat: 371 / 40

Going ahead to step 4:
371 divided by 40 is 9 with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 59.0
Deduct 360 from 371 and we're left with 11.
Bring next digit (1) of the dividend behind the 11 and repeat the process: 111 / 40

Moving on to step 5:
40 goes into 111 2 times with a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 592.0
Subtracting 80 from 111 leaves us with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 40

Moving on to step 6:
When dividing 318 by 40, we get 7 with a remainder of 38.
The number 7 becomes the next digit in our result. 
Result so far: 5927.0
The remainder is 38 after subtracting 280 from 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 7:
If we divide 380 by 40, we get 9 and a remainder of 20.
The next digit of our result is 9. 
Result so far: 5927.9
Subtract 360 from 380 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.

On to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5927.95
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.

On to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5927.95
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.

Step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5927.95
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.

In conclusion, the division gives 5927.95 with a balance of 0.0.