Let's divide 40788458 by 372
We want to divide 40788458 by 372.

Advancing to step 1:
372 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 372

Going ahead to step 2:
If we divide 40 by 372, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 372

Step 3:
372 goes into 407 1 times with a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 372 away from 407, we end up with 35.
Take the next digit (8) from the dividend and append it to 35, then repeat: 358 / 372

Step 4:
When dividing 358 by 372, we get 0 with a remainder of 358.
Write down 0 as next digit of the result. 
Result so far: 10.0
The remainder is 358 after subtracting 0 from 358.
Grab the next digit (8) from the dividend, add it to 358, then carry on: 3588 / 372

Moving on to step 5:
372 goes into 3588 9 times with a remainder of 240.
Use 9 as the next digit of our solution. 
Result so far: 109.0
Subtracting 3348 from 3588 leaves us with 240.
Grab the next digit (4) from the dividend, add it to 240, then carry on: 2404 / 372

Step 6:
372 goes into 2404 6 times with a remainder of 172.
Put 6 as the next digit of the answer. 
Result so far: 1096.0
Subtract 2232 from 2404 to get 172.
Bring next digit (5) of the dividend behind the 172 and repeat the process: 1725 / 372

Let's proceed to step 7:
372 goes into 1725 4 times with a remainder of 237.
Use 4 as the next digit of our solution. 
Result so far: 10964.0
The remainder is 237 after subtracting 1488 from 1725.
Fetch the next digit (8) from the dividend, attach it to 237 and continue: 2378 / 372

Moving on to step 8:
If we divide 2378 by 372, we get 6 and a remainder of 146.
Write down 6 as next digit of the result. 
Result so far: 109646.0
The remainder is 146 after subtracting 2232 from 2378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Moving on to step 9:
1460 divided by 372 is 3 with a remainder of 344.
Use 3 as the next digit of our solution. 
Result so far: 109646.3
If we subtract 1116 from 1460, we get 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Advancing to step 10:
372 goes into 3440 9 times with a remainder of 92.
Use 9 as the next digit of our solution. 
Result so far: 109646.39
Subtracting 3348 from 3440 leaves us 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.

Moving on to step 11:
372 goes into 920 2 times with a remainder of 176.
Write down 2 as next digit of the result. 
Result so far: 109646.392
Subtracting 744 from 920 leaves us with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Going ahead to step 12:
The number 372 fits into 1760 4 times, leaving a remainder of 272.
The number 4 becomes the next digit in our result. 
Result so far: 109646.3924
The remainder is 272 after subtracting 1488 from 1760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 13:
When dividing 2720 by 372, we get 7 with a remainder of 116.
Record the quotient 7 as the next digit in the result. 
Result so far: 109646.39247
If we subtract 2604 from 2720, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Let's proceed to step 14:
1160 divided by 372 is 3 with a remainder of 44.
Put 3 as the next digit of the answer. 
Result so far: 109646.392473
If we take 1116 away from 1160, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 15:
The number 372 fits into 440 1 times, leaving a remainder of 68.
Write down 1 as next digit of the result. 
Result so far: 109646.3924731
If we subtract 372 from 440, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 16:
372 goes into 680 1 times with a remainder of 308.
Put 1 as the next digit of the answer. 
Result so far: 109646.39247311
Subtracting 372 from 680 leaves us with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

After the division, we end up with 109646.39247311 and a remainder of 3.08e-07.