Let's divide 40372858 by 198
We want to divide 40372858 by 198.

Going ahead to step 1:
198 goes into 4 0 times 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.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 198

Let's proceed to step 2:
The number 198 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Bring next digit (3) of the dividend behind the 40 and repeat the process: 403 / 198

Advancing to step 3:
403 divided by 198 is 2 with a remainder of 7.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 396 from 403 to get 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 198

Going ahead to step 4:
198 goes into 77 0 times with a remainder of 77.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Subtract 0 from 77 to get 77.
Append the next digit (2) from the dividend to 77 and continue with: 772 / 198

Going ahead to step 5:
The number 198 fits into 772 3 times, leaving a remainder of 178.
Put 3 as the next digit of the answer. 
Result so far: 203.0
Subtracting 594 from 772 leaves us with 178.
Fetch the next digit (8) from the dividend, attach it to 178 and continue: 1788 / 198

Advancing to step 6:
1788 divided by 198 is 9 with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 2039.0
Subtract 1782 from 1788 to get 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 198

Going ahead to step 7:
198 can be fit into 65 0 times, resulting in a remainder of 65.
The number 0 becomes the next digit in our result. 
Result so far: 20390.0
The remainder is 65 after subtracting 0 from 65.
Grab the next digit (8) from the dividend, add it to 65, then carry on: 658 / 198

Going ahead to step 8:
If we divide 658 by 198, we get 3 and a remainder of 64.
Put 3 as the next digit of the answer. 
Result so far: 203903.0
Subtract 594 from 658 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 9:
The number 198 fits into 640 3 times, leaving a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 203903.3
If we take 594 away from 640, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 10:
When dividing 460 by 198, we get 2 with a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 203903.32
If we take 396 away from 460, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 11:
640 divided by 198 is 3 with a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 203903.323
Deduct 594 from 640 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 12:
460 divided by 198 is 2 with a remainder of 64.
Put 2 as the next digit of the answer. 
Result so far: 203903.3232
If we subtract 396 from 460, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 13:
198 goes into 640 3 times with a remainder of 46.
Write down 3 as next digit of the result. 
Result so far: 203903.32323
The remainder is 46 after subtracting 594 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 14:
When dividing 460 by 198, we get 2 with a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 203903.323232
Subtracting 396 from 460 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 15:
640 divided by 198 is 3 with a remainder of 46.
The next digit of our result is 3. 
Result so far: 203903.3232323
If we subtract 594 from 640, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 16:
When dividing 460 by 198, we get 2 with a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 203903.32323232
If we subtract 396 from 460, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final result is 203903.32323232 with a remainder of 6.4e-08.