We look at the division of 25838797 by 670 
Our goal is to divide 25838797 by 670.

Going ahead to step 1:
670 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 670

Moving on to step 2:
670 goes into 25 0 times with a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 25, we end up with 25.
Grab the next digit (8) from the dividend, add it to 25, then carry on: 258 / 670

Moving on to step 3:
258 divided by 670 is 0 with a remainder of 258.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 258, we end up with 258.
Include the next digit (3) from the dividend after 258, then repeat: 2583 / 670

On to step 4:
When dividing 2583 by 670, we get 3 with a remainder of 573.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 2010 away from 2583, we end up with 573.
Grab the next digit (8) from the dividend, add it to 573, then carry on: 5738 / 670

Going ahead to step 5:
If we divide 5738 by 670, we get 8 and a remainder of 378.
Put 8 as the next digit of the answer. 
Result so far: 38.0
Subtracting 5360 from 5738 leaves us with 378.
Grab the next digit (7) from the dividend, add it to 378, then carry on: 3787 / 670

On to step 6:
670 can be fit into 3787 5 times, resulting in a remainder of 437.
The number 5 becomes the next digit in our result. 
Result so far: 385.0
Deduct 3350 from 3787 and we're left with 437.
Grab the next digit (9) from the dividend, add it to 437, then carry on: 4379 / 670

Advancing to step 7:
The number 670 fits into 4379 6 times, leaving a remainder of 359.
Put 6 as the next digit of the answer. 
Result so far: 3856.0
Subtract 4020 from 4379 to get 359.
Fetch the next digit (7) from the dividend, attach it to 359 and continue: 3597 / 670

On to step 8:
When dividing 3597 by 670, we get 5 with a remainder of 247.
Write down 5 as next digit of the result. 
Result so far: 38565.0
If we take 3350 away from 3597, we end up with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Moving on to step 9:
670 goes into 2470 3 times with a remainder of 460.
Record the quotient 3 as the next digit in the result. 
Result so far: 38565.3
The remainder is 460 after subtracting 2010 from 2470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

On to step 10:
The number 670 fits into 4600 6 times, leaving a remainder of 580.
Write down 6 as next digit of the result. 
Result so far: 38565.36
The remainder is 580 after subtracting 4020 from 4600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Let's proceed to step 11:
670 goes into 5800 8 times with a remainder of 440.
The number 8 becomes the next digit in our result. 
Result so far: 38565.368
Subtracting 5360 from 5800 leaves us with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

On to step 12:
The number 670 fits into 4400 6 times, leaving a remainder of 380.
The number 6 becomes the next digit in our result. 
Result so far: 38565.3686
The remainder is 380 after subtracting 4020 from 4400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Let's proceed to step 13:
The number 670 fits into 3800 5 times, leaving a remainder of 450.
Put 5 as the next digit of the answer. 
Result so far: 38565.36865
Subtracting 3350 from 3800 leaves us with 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Advancing to step 14:
If we divide 4500 by 670, we get 6 and a remainder of 480.
Use 6 as the next digit of our solution. 
Result so far: 38565.368656
Deduct 4020 from 4500 and we're left with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Going ahead to step 15:
When dividing 4800 by 670, we get 7 with a remainder of 110.
Use 7 as the next digit of our solution. 
Result so far: 38565.3686567
If we take 4690 away from 4800, we end up with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

On to step 16:
1100 divided by 670 is 1 with a remainder of 430.
Write down 1 as next digit of the result. 
Result so far: 38565.36865671
The remainder is 430 after subtracting 670 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

The quotient of the division is 38565.36865671, and the remainder is 4.3e-07.