Let's divide 31603118 by 366
We want to figure out the number of times 31603118 can be divided by 366.

Moving on to step 1:
If we divide 3 by 366, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 366

Moving on to step 2:
31 divided by 366 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (6) from the dividend to 31 and continue with: 316 / 366

Step 3:
The number 366 fits into 316 0 times, leaving a remainder of 316.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 316 after subtracting 0 from 316.
Grab the next digit (0) from the dividend, add it to 316, then carry on: 3160 / 366

Moving on to step 4:
When dividing 3160 by 366, we get 8 with a remainder of 232.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 2928 from 3160 to get 232.
Append the next digit (3) from the dividend to 232 and continue with: 2323 / 366

On to step 5:
366 can be fit into 2323 6 times, resulting in a remainder of 127.
Write down 6 as next digit of the result. 
Result so far: 86.0
If we take 2196 away from 2323, we end up with 127.
Append the next digit (1) from the dividend to 127 and continue with: 1271 / 366

On to step 6:
366 goes into 1271 3 times with a remainder of 173.
Use 3 as the next digit of our solution. 
Result so far: 863.0
Deduct 1098 from 1271 and we're left with 173.
Grab the next digit (1) from the dividend, add it to 173, then carry on: 1731 / 366

Let's proceed to step 7:
366 can be fit into 1731 4 times, resulting in a remainder of 267.
Put 4 as the next digit of the answer. 
Result so far: 8634.0
Subtract 1464 from 1731 to get 267.
Bring next digit (8) of the dividend behind the 267 and repeat the process: 2678 / 366

Step 8:
2678 divided by 366 is 7 with a remainder of 116.
Record the quotient 7 as the next digit in the result. 
Result so far: 86347.0
If we subtract 2562 from 2678, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Moving on to step 9:
The number 366 fits into 1160 3 times, leaving a remainder of 62.
The number 3 becomes the next digit in our result. 
Result so far: 86347.3
If we subtract 1098 from 1160, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 10:
When dividing 620 by 366, we get 1 with a remainder of 254.
Write down 1 as next digit of the result. 
Result so far: 86347.31
If we subtract 366 from 620, we get 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

On to step 11:
366 goes into 2540 6 times with a remainder of 344.
Use 6 as the next digit of our solution. 
Result so far: 86347.316
The remainder is 344 after subtracting 2196 from 2540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Step 12:
If we divide 3440 by 366, we get 9 and a remainder of 146.
Write down 9 as next digit of the result. 
Result so far: 86347.3169
The remainder is 146 after subtracting 3294 from 3440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

On to step 13:
If we divide 1460 by 366, we get 3 and a remainder of 362.
Record the quotient 3 as the next digit in the result. 
Result so far: 86347.31693
Subtracting 1098 from 1460 leaves us with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Step 14:
366 can be fit into 3620 9 times, resulting in a remainder of 326.
Use 9 as the next digit of our solution. 
Result so far: 86347.316939
If we take 3294 away from 3620, we end up with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Advancing to step 15:
If we divide 3260 by 366, we get 8 and a remainder of 332.
Write down 8 as next digit of the result. 
Result so far: 86347.3169398
If we subtract 2928 from 3260, we get 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

On to step 16:
When dividing 3320 by 366, we get 9 with a remainder of 26.
Put 9 as the next digit of the answer. 
Result so far: 86347.31693989
Deduct 3294 from 3320 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

After the division, we end up with 86347.31693989 and a remainder of 2.6e-08.