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

Going ahead to step 1:
9 divided by 40 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Fetch the next digit (3) from the dividend, attach it to 9 and continue: 93 / 40

Moving on to step 2:
When dividing 93 by 40, we get 2 with a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 80 from 93, we get 13.
Grab the next digit (5) from the dividend, add it to 13, then carry on: 135 / 40

Going ahead to step 3:
If we divide 135 by 40, we get 3 and a remainder of 15.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Subtract 120 from 135 to get 15.
Include the next digit (1) from the dividend after 15, then repeat: 151 / 40

Let's proceed to step 4:
151 divided by 40 is 3 with a remainder of 31.
Write down 3 as next digit of the result. 
Result so far: 233.0
Subtract 120 from 151 to get 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 40

Moving on to step 5:
The number 40 fits into 315 7 times, leaving a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 2337.0
Subtract 280 from 315 to get 35.
Fetch the next digit (7) from the dividend, attach it to 35 and continue: 357 / 40

On to step 6:
If we divide 357 by 40, we get 8 and a remainder of 37.
Record the quotient 8 as the next digit in the result. 
Result so far: 23378.0
If we take 320 away from 357, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 7:
370 divided by 40 is 9 with a remainder of 10.
Record the quotient 9 as the next digit in the result. 
Result so far: 23378.9
Subtract 360 from 370 to 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.

Advancing to step 8:
When dividing 100 by 40, we get 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 23378.92
Subtract 80 from 100 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 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 23378.925
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.

Advancing to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 23378.925
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.

Moving on to step 11:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 23378.925
The remainder is 0 after subtracting 0 from 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 23378.925 with a remaining 0.0.