Let's divide 31798924 by 578
Let's see how many times 578 fits into 31798924.

Let's proceed to step 1:
578 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 578

Let's proceed to step 2:
31 divided by 578 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Bring next digit (7) of the dividend behind the 31 and repeat the process: 317 / 578

Step 3:
When dividing 317 by 578, we get 0 with a remainder of 317.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 317, we get 317.
Include the next digit (9) from the dividend after 317, then repeat: 3179 / 578

Moving on to step 4:
If we divide 3179 by 578, we get 5 and a remainder of 289.
The next digit of our result is 5. 
Result so far: 5.0
If we take 2890 away from 3179, we end up with 289.
Fetch the next digit (8) from the dividend, attach it to 289 and continue: 2898 / 578

Moving on to step 5:
If we divide 2898 by 578, we get 5 and a remainder of 8.
The next digit of our result is 5. 
Result so far: 55.0
The remainder is 8 after subtracting 2890 from 2898.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 578

Step 6:
The number 578 fits into 89 0 times, leaving a remainder of 89.
Put 0 as the next digit of the answer. 
Result so far: 550.0
The remainder is 89 after subtracting 0 from 89.
Take the next digit (2) from the dividend and append it to 89, then repeat: 892 / 578

Let's proceed to step 7:
If we divide 892 by 578, we get 1 and a remainder of 314.
Record the quotient 1 as the next digit in the result. 
Result so far: 5501.0
If we take 578 away from 892, we end up with 314.
Append the next digit (4) from the dividend to 314 and continue with: 3144 / 578

On to step 8:
578 goes into 3144 5 times with a remainder of 254.
Put 5 as the next digit of the answer. 
Result so far: 55015.0
Subtract 2890 from 3144 to 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.

Going ahead to step 9:
The number 578 fits into 2540 4 times, leaving a remainder of 228.
The number 4 becomes the next digit in our result. 
Result so far: 55015.4
If we subtract 2312 from 2540, we get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 10:
578 goes into 2280 3 times with a remainder of 546.
The number 3 becomes the next digit in our result. 
Result so far: 55015.43
The remainder is 546 after subtracting 1734 from 2280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5460, and continue the process.

On to step 11:
5460 divided by 578 is 9 with a remainder of 258.
Write down 9 as next digit of the result. 
Result so far: 55015.439
Subtracting 5202 from 5460 leaves us with 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Advancing to step 12:
2580 divided by 578 is 4 with a remainder of 268.
The number 4 becomes the next digit in our result. 
Result so far: 55015.4394
Deduct 2312 from 2580 and we're left with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Going ahead to step 13:
2680 divided by 578 is 4 with a remainder of 368.
The number 4 becomes the next digit in our result. 
Result so far: 55015.43944
Deduct 2312 from 2680 and we're left with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

After the division, we end up with 55015.43944 and a remainder of 0.000368.