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

Step 1:
40 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 40

Going ahead to step 2:
The number 40 fits into 13 0 times, leaving a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 13, we end up with 13.
Take the next digit (4) from the dividend and append it to 13, then repeat: 134 / 40

Moving on to step 3:
The number 40 fits into 134 3 times, leaving a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 120 from 134, we get 14.
Append the next digit (7) from the dividend to 14 and continue with: 147 / 40

Let's proceed to step 4:
40 can be fit into 147 3 times, resulting in a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 33.0
The remainder is 27 after subtracting 120 from 147.
Append the next digit (5) from the dividend to 27 and continue with: 275 / 40

Step 5:
The number 40 fits into 275 6 times, leaving a remainder of 35.
The next digit of our result is 6. 
Result so far: 336.0
The remainder is 35 after subtracting 240 from 275.
Include the next digit (8) from the dividend after 35, then repeat: 358 / 40

Advancing to step 6:
40 goes into 358 8 times with a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 3368.0
Deduct 320 from 358 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

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

Going ahead to 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: 3368.95
If we subtract 200 from 200, 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.

Moving on to step 9:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3368.95
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.

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: 3368.95
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 3368.95 and a remainder of 0.0.