Let's divide 40007141 by 124
We want to divide 40007141 by 124.

Advancing to step 1:
124 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 124

Step 2:
124 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 124

Advancing to step 3:
124 can be fit into 400 3 times, resulting in a remainder of 28.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 28 after subtracting 372 from 400.
Append the next digit (0) from the dividend to 28 and continue with: 280 / 124

On to step 4:
124 can be fit into 280 2 times, resulting in a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Subtract 248 from 280 to get 32.
Append the next digit (7) from the dividend to 32 and continue with: 327 / 124

Going ahead to step 5:
If we divide 327 by 124, we get 2 and a remainder of 79.
The next digit of our result is 2. 
Result so far: 322.0
If we take 248 away from 327, we end up with 79.
Fetch the next digit (1) from the dividend, attach it to 79 and continue: 791 / 124

Advancing to step 6:
The number 124 fits into 791 6 times, leaving a remainder of 47.
Write down 6 as next digit of the result. 
Result so far: 3226.0
Subtract 744 from 791 to get 47.
Grab the next digit (4) from the dividend, add it to 47, then carry on: 474 / 124

Let's proceed to step 7:
If we divide 474 by 124, we get 3 and a remainder of 102.
The next digit of our result is 3. 
Result so far: 32263.0
The remainder is 102 after subtracting 372 from 474.
Append the next digit (1) from the dividend to 102 and continue with: 1021 / 124

Going ahead to step 8:
The number 124 fits into 1021 8 times, leaving a remainder of 29.
The number 8 becomes the next digit in our result. 
Result so far: 322638.0
Deduct 992 from 1021 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
If we divide 290 by 124, we get 2 and a remainder of 42.
The number 2 becomes the next digit in our result. 
Result so far: 322638.2
If we take 248 away from 290, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 10:
When dividing 420 by 124, we get 3 with a remainder of 48.
Use 3 as the next digit of our solution. 
Result so far: 322638.23
Subtract 372 from 420 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 11:
124 goes into 480 3 times with a remainder of 108.
Put 3 as the next digit of the answer. 
Result so far: 322638.233
The remainder is 108 after subtracting 372 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

The quotient of the division is 322638.233, and the remainder is 0.0108.