Let's divide 40040319 by 479
We're looking to find how many times 479 goes into 40040319.

Advancing to step 1:
When dividing 4 by 479, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 479

Advancing to step 2:
If we divide 40 by 479, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (0) from the dividend after 40, then repeat: 400 / 479

Let's proceed to step 3:
The number 479 fits into 400 0 times, leaving a remainder of 400.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 400 leaves us with 400.
Take the next digit (4) from the dividend and append it to 400, then repeat: 4004 / 479

Going ahead to step 4:
If we divide 4004 by 479, we get 8 and a remainder of 172.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 3832 from 4004 leaves us with 172.
Grab the next digit (0) from the dividend, add it to 172, then carry on: 1720 / 479

Let's proceed to step 5:
The number 479 fits into 1720 3 times, leaving a remainder of 283.
The number 3 becomes the next digit in our result. 
Result so far: 83.0
If we subtract 1437 from 1720, we get 283.
Take the next digit (3) from the dividend and append it to 283, then repeat: 2833 / 479

On to step 6:
If we divide 2833 by 479, we get 5 and a remainder of 438.
Put 5 as the next digit of the answer. 
Result so far: 835.0
If we subtract 2395 from 2833, we get 438.
Bring next digit (1) of the dividend behind the 438 and repeat the process: 4381 / 479

Going ahead to step 7:
479 goes into 4381 9 times with a remainder of 70.
The next digit of our result is 9. 
Result so far: 8359.0
If we subtract 4311 from 4381, we get 70.
Take the next digit (9) from the dividend and append it to 70, then repeat: 709 / 479

Going ahead to step 8:
When dividing 709 by 479, we get 1 with a remainder of 230.
Write down 1 as next digit of the result. 
Result so far: 83591.0
If we subtract 479 from 709, we get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 9:
479 can be fit into 2300 4 times, resulting in a remainder of 384.
The number 4 becomes the next digit in our result. 
Result so far: 83591.4
If we subtract 1916 from 2300, we get 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Moving on to step 10:
479 can be fit into 3840 8 times, resulting in a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 83591.48
If we subtract 3832 from 3840, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 11:
The number 479 fits into 80 0 times, leaving a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 83591.48
Subtracting 0 from 80 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 12:
800 divided by 479 is 1 with a remainder of 321.
The next digit of our result is 1. 
Result so far: 83591.4801
Subtract 479 from 800 to get 321.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

Advancing to step 13:
479 can be fit into 3210 6 times, resulting in a remainder of 336.
Write down 6 as next digit of the result. 
Result so far: 83591.48016
Subtracting 2874 from 3210 leaves us with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Moving on to step 14:
479 goes into 3360 7 times with a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 83591.480167
The remainder is 7 after subtracting 3353 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 15:
479 can be fit into 70 0 times, resulting in a remainder of 70.
Put 0 as the next digit of the answer. 
Result so far: 83591.480167
The remainder is 70 after subtracting 0 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 16:
479 can be fit into 700 1 times, resulting in a remainder of 221.
Use 1 as the next digit of our solution. 
Result so far: 83591.48016701
Subtracting 479 from 700 leaves us with 221.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2210, and continue the process.

Our division results in 83591.48016701 with a remaining 2.21e-07.