Let's divide 31229378 by 864
We want to figure out the number of times 31229378 can be divided by 864.

Going ahead to step 1:
3 divided by 864 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 864

Going ahead to step 2:
31 divided by 864 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 864

Advancing to step 3:
312 divided by 864 is 0 with a remainder of 312.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 312 to get 312.
Include the next digit (2) from the dividend after 312, then repeat: 3122 / 864

On to step 4:
The number 864 fits into 3122 3 times, leaving a remainder of 530.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 2592 away from 3122, we end up with 530.
Fetch the next digit (9) from the dividend, attach it to 530 and continue: 5309 / 864

Step 5:
When dividing 5309 by 864, we get 6 with a remainder of 125.
Write down 6 as next digit of the result. 
Result so far: 36.0
Subtract 5184 from 5309 to get 125.
Grab the next digit (3) from the dividend, add it to 125, then carry on: 1253 / 864

Going ahead to step 6:
When dividing 1253 by 864, we get 1 with a remainder of 389.
The number 1 becomes the next digit in our result. 
Result so far: 361.0
If we take 864 away from 1253, we end up with 389.
Grab the next digit (7) from the dividend, add it to 389, then carry on: 3897 / 864

Advancing to step 7:
The number 864 fits into 3897 4 times, leaving a remainder of 441.
The next digit of our result is 4. 
Result so far: 3614.0
If we subtract 3456 from 3897, we get 441.
Include the next digit (8) from the dividend after 441, then repeat: 4418 / 864

On to step 8:
4418 divided by 864 is 5 with a remainder of 98.
Write down 5 as next digit of the result. 
Result so far: 36145.0
The remainder is 98 after subtracting 4320 from 4418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

On to step 9:
When dividing 980 by 864, we get 1 with a remainder of 116.
The number 1 becomes the next digit in our result. 
Result so far: 36145.1
Deduct 864 from 980 and we're left with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 10:
864 goes into 1160 1 times with a remainder of 296.
Record the quotient 1 as the next digit in the result. 
Result so far: 36145.11
The remainder is 296 after subtracting 864 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

After the division, we end up with 36145.11 and a remainder of 0.296.