We divide 42187398 by 397
We want to divide 42187398 by 397.

Going ahead to step 1:
4 divided by 397 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 397

Step 2:
When dividing 42 by 397, we get 0 with a remainder of 42.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 42 and we're left with 42.
Grab the next digit (1) from the dividend, add it to 42, then carry on: 421 / 397

Let's proceed to step 3:
When dividing 421 by 397, we get 1 with a remainder of 24.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 397 from 421 to get 24.
Take the next digit (8) from the dividend and append it to 24, then repeat: 248 / 397

On to step 4:
If we divide 248 by 397, we get 0 and a remainder of 248.
The next digit of our result is 0. 
Result so far: 10.0
Subtracting 0 from 248 leaves us with 248.
Grab the next digit (7) from the dividend, add it to 248, then carry on: 2487 / 397

Advancing to step 5:
If we divide 2487 by 397, we get 6 and a remainder of 105.
Use 6 as the next digit of our solution. 
Result so far: 106.0
If we subtract 2382 from 2487, we get 105.
Append the next digit (3) from the dividend to 105 and continue with: 1053 / 397

Step 6:
1053 divided by 397 is 2 with a remainder of 259.
Write down 2 as next digit of the result. 
Result so far: 1062.0
If we take 794 away from 1053, we end up with 259.
Bring next digit (9) of the dividend behind the 259 and repeat the process: 2599 / 397

On to step 7:
397 can be fit into 2599 6 times, resulting in a remainder of 217.
Record the quotient 6 as the next digit in the result. 
Result so far: 10626.0
Deduct 2382 from 2599 and we're left with 217.
Bring next digit (8) of the dividend behind the 217 and repeat the process: 2178 / 397

Advancing to step 8:
The number 397 fits into 2178 5 times, leaving a remainder of 193.
Use 5 as the next digit of our solution. 
Result so far: 106265.0
Subtracting 1985 from 2178 leaves us with 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Step 9:
397 goes into 1930 4 times with a remainder of 342.
Write down 4 as next digit of the result. 
Result so far: 106265.4
If we take 1588 away from 1930, we end up with 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

On to step 10:
3420 divided by 397 is 8 with a remainder of 244.
Use 8 as the next digit of our solution. 
Result so far: 106265.48
Deduct 3176 from 3420 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Step 11:
397 can be fit into 2440 6 times, resulting in a remainder of 58.
Use 6 as the next digit of our solution. 
Result so far: 106265.486
If we take 2382 away from 2440, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 12:
If we divide 580 by 397, we get 1 and a remainder of 183.
Put 1 as the next digit of the answer. 
Result so far: 106265.4861
The remainder is 183 after subtracting 397 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1830, and continue the process.

Going ahead to step 13:
When dividing 1830 by 397, we get 4 with a remainder of 242.
Use 4 as the next digit of our solution. 
Result so far: 106265.48614
Subtract 1588 from 1830 to get 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2420, and continue the process.

Let's proceed to step 14:
2420 divided by 397 is 6 with a remainder of 38.
The next digit of our result is 6. 
Result so far: 106265.486146
Subtracting 2382 from 2420 leaves us 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.

Moving on to step 15:
When dividing 380 by 397, we get 0 with a remainder of 380.
Put 0 as the next digit of the answer. 
Result so far: 106265.486146
Deduct 0 from 380 and we're left with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 16:
When dividing 3800 by 397, we get 9 with a remainder of 227.
Record the quotient 9 as the next digit in the result. 
Result so far: 106265.48614609
The remainder is 227 after subtracting 3573 from 3800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

In conclusion, the division gives 106265.48614609 with a balance of 2.27e-07.