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

Let's proceed to step 1:
When dividing 9 by 40, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Include the next digit (1) from the dividend after 9, then repeat: 91 / 40

Advancing to step 2:
If we divide 91 by 40, we get 2 and a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 11 after subtracting 80 from 91.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 40

Step 3:
40 goes into 115 2 times with a remainder of 35.
The next digit of our result is 2. 
Result so far: 22.0
If we subtract 80 from 115, we get 35.
Append the next digit (3) from the dividend to 35 and continue with: 353 / 40

Going ahead to step 4:
40 goes into 353 8 times with a remainder of 33.
Record the quotient 8 as the next digit in the result. 
Result so far: 228.0
Deduct 320 from 353 and we're left with 33.
Include the next digit (8) from the dividend after 33, then repeat: 338 / 40

On to step 5:
The number 40 fits into 338 8 times, leaving a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 2288.0
Subtracting 320 from 338 leaves us with 18.
Take the next digit (8) from the dividend and append it to 18, then repeat: 188 / 40

On to step 6:
40 goes into 188 4 times with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 22884.0
Subtracting 160 from 188 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
40 can be fit into 280 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 22884.7
If we take 280 away from 280, we end up 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.

Advancing to step 8:
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: 22884.7
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.

On to step 9:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 22884.7
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.

Our division results in 22884.7 with a remaining 0.0.