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

Let's proceed to step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 40

Step 2:
The number 40 fits into 61 1 times, leaving a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 61 to get 21.
Grab the next digit (4) from the dividend, add it to 21, then carry on: 214 / 40

Step 3:
40 goes into 214 5 times with a remainder of 14.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtracting 200 from 214 leaves us with 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 40

Moving on to step 4:
If we divide 148 by 40, we get 3 and a remainder of 28.
The next digit of our result is 3. 
Result so far: 153.0
Subtracting 120 from 148 leaves us with 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 40

Let's proceed to step 5:
The number 40 fits into 287 7 times, leaving a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 1537.0
Deduct 280 from 287 and we're left with 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 40

Going ahead to step 6:
40 can be fit into 70 1 times, resulting in a remainder of 30.
The next digit of our result is 1. 
Result so far: 15371.0
The remainder is 30 after subtracting 40 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 7:
40 goes into 300 7 times with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 15371.7
Deduct 280 from 300 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 15371.75
If we take 200 away from 200, we end up 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.

Going ahead to step 9:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 15371.75
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.

On to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 15371.75
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.

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