We look at the division of 319951 by 45 
We want to divide 319951 by 45.

Advancing to step 1:
3 divided by 45 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 45

Going ahead to step 2:
If we divide 31 by 45, we get 0 and a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Grab the next digit (9) from the dividend, add it to 31, then carry on: 319 / 45

On to step 3:
45 goes into 319 7 times with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
The remainder is 4 after subtracting 315 from 319.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 45

On to step 4:
45 can be fit into 49 1 times, resulting in a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 71.0
If we subtract 45 from 49, we get 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 45

On to step 5:
45 divided by 45 is 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 711.0
Subtract 45 from 45 to get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 45

Step 6:
45 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 7110.0
Subtracting 0 from 1 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
10 divided by 45 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 7110.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
When dividing 100 by 45, we get 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 7110.02
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
45 goes into 100 2 times with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 7110.022
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 7110.022, and the remainder is 0.001.