Let's divide 570684 by 40
Let's see how many times 40 fits into 570684.

On to step 1:
If we divide 5 by 40, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 40

Advancing to step 2:
40 can be fit into 57 1 times, resulting in a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 17 after subtracting 40 from 57.
Bring next digit (0) of the dividend behind the 17 and repeat the process: 170 / 40

Advancing to step 3:
When dividing 170 by 40, we get 4 with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 14.0
Deduct 160 from 170 and we're left with 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 40

Advancing to step 4:
When dividing 106 by 40, we get 2 with a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 142.0
Subtracting 80 from 106 leaves us with 26.
Take the next digit (8) from the dividend and append it to 26, then repeat: 268 / 40

Let's proceed to step 5:
40 can be fit into 268 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 1426.0
Subtracting 240 from 268 leaves us with 28.
Include the next digit (4) from the dividend after 28, then repeat: 284 / 40

Let's proceed to step 6:
The number 40 fits into 284 7 times, leaving a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 14267.0
If we take 280 away from 284, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
40 can be fit into 40 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 14267.1
Subtracting 40 from 40 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.

Let's proceed to step 8:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14267.1
The remainder is 0 after subtracting 0 from 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 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 14267.1
Subtract 0 from 0 to 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.

The quotient of the division is 14267.1, and the remainder is 0.0.