398822 divided by 5 
We want to divide 398822 by 5.

Moving on to step 1:
If we divide 3 by 5, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

Advancing to step 2:
If we divide 39 by 5, we get 7 and a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Deduct 35 from 39 and we're left with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 5

On to step 3:
If we divide 48 by 5, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 79.0
Subtract 45 from 48 to get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 5

Advancing to step 4:
5 goes into 38 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 797.0
Deduct 35 from 38 and we're left with 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 5

Moving on to step 5:
When dividing 32 by 5, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 7976.0
If we take 30 away from 32, we end up with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 5

On to step 6:
When dividing 22 by 5, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 79764.0
Deduct 20 from 22 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.

Going ahead to step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 79764.4
If we subtract 20 from 20, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 79764.4
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
0 divided by 5 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 79764.4
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 79764.4 with a remaining 0.0.