Let's divide 864379 by 149
Our goal is to divide 864379 by 149.

Going ahead to step 1:
The number 149 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 149

On to step 2:
If we divide 86 by 149, we get 0 and a remainder of 86.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 86, we end up with 86.
Grab the next digit (4) from the dividend, add it to 86, then carry on: 864 / 149

Going ahead to step 3:
If we divide 864 by 149, we get 5 and a remainder of 119.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 745 from 864, we get 119.
Grab the next digit (3) from the dividend, add it to 119, then carry on: 1193 / 149

Let's proceed to step 4:
When dividing 1193 by 149, we get 8 with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 58.0
Deduct 1192 from 1193 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 149

Going ahead to step 5:
149 goes into 17 0 times with a remainder of 17.
The next digit of our result is 0. 
Result so far: 580.0
The remainder is 17 after subtracting 0 from 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 149

Moving on to step 6:
When dividing 179 by 149, we get 1 with a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 5801.0
If we subtract 149 from 179, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 7:
149 goes into 300 2 times with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 5801.2
Deduct 298 from 300 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
149 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 5801.2
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
If we divide 200 by 149, we get 1 and a remainder of 51.
Record the quotient 1 as the next digit in the result. 
Result so far: 5801.201
Deduct 149 from 200 and we're left with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 10:
If we divide 510 by 149, we get 3 and a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 5801.2013
The remainder is 63 after subtracting 447 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Step 11:
When dividing 630 by 149, we get 4 with a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 5801.20134
If we subtract 596 from 630, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 12:
When dividing 340 by 149, we get 2 with a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5801.201342
Subtract 298 from 340 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 13:
149 can be fit into 420 2 times, resulting in a remainder of 122.
Use 2 as the next digit of our solution. 
Result so far: 5801.2013422
The remainder is 122 after subtracting 298 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

After the division, we end up with 5801.2013422 and a remainder of 1.22e-06.