Let's divide 12034657 by 397
We want to divide 12034657 by 397.

Let's proceed to step 1:
The number 397 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 397

On to step 2:
If we divide 12 by 397, we get 0 and a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Fetch the next digit (0) from the dividend, attach it to 12 and continue: 120 / 397

Advancing to step 3:
When dividing 120 by 397, we get 0 with a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 120 and we're left with 120.
Fetch the next digit (3) from the dividend, attach it to 120 and continue: 1203 / 397

On to step 4:
When dividing 1203 by 397, we get 3 with a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 1191 from 1203 to get 12.
Include the next digit (4) from the dividend after 12, then repeat: 124 / 397

On to step 5:
397 goes into 124 0 times with a remainder of 124.
Write down 0 as next digit of the result. 
Result so far: 30.0
Subtracting 0 from 124 leaves us with 124.
Append the next digit (6) from the dividend to 124 and continue with: 1246 / 397

Going ahead to step 6:
397 goes into 1246 3 times with a remainder of 55.
The number 3 becomes the next digit in our result. 
Result so far: 303.0
If we subtract 1191 from 1246, we get 55.
Take the next digit (5) from the dividend and append it to 55, then repeat: 555 / 397

Going ahead to step 7:
The number 397 fits into 555 1 times, leaving a remainder of 158.
The next digit of our result is 1. 
Result so far: 3031.0
Subtracting 397 from 555 leaves us with 158.
Take the next digit (7) from the dividend and append it to 158, then repeat: 1587 / 397

Going ahead to step 8:
397 can be fit into 1587 3 times, resulting in a remainder of 396.
Put 3 as the next digit of the answer. 
Result so far: 30313.0
Subtract 1191 from 1587 to get 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Step 9:
If we divide 3960 by 397, we get 9 and a remainder of 387.
The number 9 becomes the next digit in our result. 
Result so far: 30313.9
If we subtract 3573 from 3960, we get 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Let's proceed to step 10:
397 goes into 3870 9 times with a remainder of 297.
Write down 9 as next digit of the result. 
Result so far: 30313.99
If we subtract 3573 from 3870, we get 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

After the division, we end up with 30313.99 and a remainder of 0.297.