We're dividing 31323394 by 513 
We want to divide 31323394 by 513.

Let's proceed to step 1:
When dividing 3 by 513, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 513

Going ahead to step 2:
When dividing 31 by 513, we get 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 513

Advancing to step 3:
513 can be fit into 313 0 times, resulting in a remainder of 313.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Take the next digit (2) from the dividend and append it to 313, then repeat: 3132 / 513

Let's proceed to step 4:
513 goes into 3132 6 times with a remainder of 54.
Use 6 as the next digit of our solution. 
Result so far: 6.0
The remainder is 54 after subtracting 3078 from 3132.
Grab the next digit (3) from the dividend, add it to 54, then carry on: 543 / 513

On to step 5:
If we divide 543 by 513, we get 1 and a remainder of 30.
The number 1 becomes the next digit in our result. 
Result so far: 61.0
If we subtract 513 from 543, we get 30.
Include the next digit (3) from the dividend after 30, then repeat: 303 / 513

On to step 6:
303 divided by 513 is 0 with a remainder of 303.
Write down 0 as next digit of the result. 
Result so far: 610.0
Subtract 0 from 303 to get 303.
Fetch the next digit (9) from the dividend, attach it to 303 and continue: 3039 / 513

Step 7:
513 can be fit into 3039 5 times, resulting in a remainder of 474.
The number 5 becomes the next digit in our result. 
Result so far: 6105.0
If we take 2565 away from 3039, we end up with 474.
Bring next digit (4) of the dividend behind the 474 and repeat the process: 4744 / 513

Advancing to step 8:
If we divide 4744 by 513, we get 9 and a remainder of 127.
Put 9 as the next digit of the answer. 
Result so far: 61059.0
Deduct 4617 from 4744 and we're left with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Step 9:
513 goes into 1270 2 times with a remainder of 244.
Record the quotient 2 as the next digit in the result. 
Result so far: 61059.2
Subtracting 1026 from 1270 leaves us with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 10:
When dividing 2440 by 513, we get 4 with a remainder of 388.
Write down 4 as next digit of the result. 
Result so far: 61059.24
Subtracting 2052 from 2440 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

On to step 11:
513 goes into 3880 7 times with a remainder of 289.
The number 7 becomes the next digit in our result. 
Result so far: 61059.247
Subtracting 3591 from 3880 leaves us with 289.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2890, and continue the process.

Going ahead to step 12:
The number 513 fits into 2890 5 times, leaving a remainder of 325.
Put 5 as the next digit of the answer. 
Result so far: 61059.2475
If we take 2565 away from 2890, we end up with 325.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3250, and continue the process.

Moving on to step 13:
The number 513 fits into 3250 6 times, leaving a remainder of 172.
Write down 6 as next digit of the result. 
Result so far: 61059.24756
Subtracting 3078 from 3250 leaves us with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Moving on to step 14:
513 goes into 1720 3 times with a remainder of 181.
The next digit of our result is 3. 
Result so far: 61059.247563
Deduct 1539 from 1720 and we're left with 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1810, and continue the process.

Going ahead to step 15:
If we divide 1810 by 513, we get 3 and a remainder of 271.
The next digit of our result is 3. 
Result so far: 61059.2475633
The remainder is 271 after subtracting 1539 from 1810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

After the division, we end up with 61059.2475633 and a remainder of 2.71e-06.