40189124 ÷ 124 
Our goal is to divide 40189124 by 124.

Advancing to step 1:
4 divided by 124 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 124

Advancing to step 2:
124 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 124

Let's proceed to step 3:
124 goes into 401 3 times with a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 29 after subtracting 372 from 401.
Include the next digit (8) from the dividend after 29, then repeat: 298 / 124

On to step 4:
When dividing 298 by 124, we get 2 with a remainder of 50.
Write down 2 as next digit of the result. 
Result so far: 32.0
Deduct 248 from 298 and we're left with 50.
Take the next digit (9) from the dividend and append it to 50, then repeat: 509 / 124

Let's proceed to step 5:
If we divide 509 by 124, we get 4 and a remainder of 13.
The next digit of our result is 4. 
Result so far: 324.0
The remainder is 13 after subtracting 496 from 509.
Fetch the next digit (1) from the dividend, attach it to 13 and continue: 131 / 124

Let's proceed to step 6:
131 divided by 124 is 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 3241.0
Deduct 124 from 131 and we're left with 7.
Include the next digit (2) from the dividend after 7, then repeat: 72 / 124

Let's proceed to step 7:
If we divide 72 by 124, we get 0 and a remainder of 72.
Record the quotient 0 as the next digit in the result. 
Result so far: 32410.0
Subtracting 0 from 72 leaves us with 72.
Bring next digit (4) of the dividend behind the 72 and repeat the process: 724 / 124

Moving on to step 8:
When dividing 724 by 124, we get 5 with a remainder of 104.
Use 5 as the next digit of our solution. 
Result so far: 324105.0
Subtract 620 from 724 to get 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Advancing to step 9:
124 can be fit into 1040 8 times, resulting in a remainder of 48.
The next digit of our result is 8. 
Result so far: 324105.8
If we take 992 away from 1040, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 10:
124 can be fit into 480 3 times, resulting in a remainder of 108.
Record the quotient 3 as the next digit in the result. 
Result so far: 324105.83
If we take 372 away from 480, we end up with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 11:
124 can be fit into 1080 8 times, resulting in a remainder of 88.
Write down 8 as next digit of the result. 
Result so far: 324105.838
Subtract 992 from 1080 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 12:
When dividing 880 by 124, we get 7 with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 324105.8387
If we take 868 away from 880, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
The number 124 fits into 120 0 times, leaving a remainder of 120.
Use 0 as the next digit of our solution. 
Result so far: 324105.8387
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 14:
If we divide 1200 by 124, we get 9 and a remainder of 84.
The next digit of our result is 9. 
Result so far: 324105.838709
Deduct 1116 from 1200 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 15:
When dividing 840 by 124, we get 6 with a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 324105.8387096
Subtracting 744 from 840 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 16:
When dividing 960 by 124, we get 7 with a remainder of 92.
Record the quotient 7 as the next digit in the result. 
Result so far: 324105.83870967
If we take 868 away from 960, we end up with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

After the division, we end up with 324105.83870967 and a remainder of 9.2e-08.