31317045 ÷ 794 
Our goal is to divide 31317045 by 794.

Advancing to step 1:
794 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 794

On to step 2:
The number 794 fits into 31 0 times, leaving 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.
Grab the next digit (3) from the dividend, add it to 31, then carry on: 313 / 794

On to step 3:
313 divided by 794 is 0 with a remainder of 313.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 313, we get 313.
Include the next digit (1) from the dividend after 313, then repeat: 3131 / 794

Let's proceed to step 4:
When dividing 3131 by 794, we get 3 with a remainder of 749.
The next digit of our result is 3. 
Result so far: 3.0
If we take 2382 away from 3131, we end up with 749.
Bring next digit (7) of the dividend behind the 749 and repeat the process: 7497 / 794

Advancing to step 5:
If we divide 7497 by 794, we get 9 and a remainder of 351.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
If we subtract 7146 from 7497, we get 351.
Take the next digit (0) from the dividend and append it to 351, then repeat: 3510 / 794

On to step 6:
794 goes into 3510 4 times with a remainder of 334.
Record the quotient 4 as the next digit in the result. 
Result so far: 394.0
If we take 3176 away from 3510, we end up with 334.
Take the next digit (4) from the dividend and append it to 334, then repeat: 3344 / 794

Let's proceed to step 7:
The number 794 fits into 3344 4 times, leaving a remainder of 168.
The number 4 becomes the next digit in our result. 
Result so far: 3944.0
If we take 3176 away from 3344, we end up with 168.
Fetch the next digit (5) from the dividend, attach it to 168 and continue: 1685 / 794

On to step 8:
1685 divided by 794 is 2 with a remainder of 97.
Write down 2 as next digit of the result. 
Result so far: 39442.0
Subtracting 1588 from 1685 leaves us with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Advancing to step 9:
When dividing 970 by 794, we get 1 with a remainder of 176.
Use 1 as the next digit of our solution. 
Result so far: 39442.1
Deduct 794 from 970 and we're left with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Let's proceed to step 10:
794 can be fit into 1760 2 times, resulting in a remainder of 172.
Write down 2 as next digit of the result. 
Result so far: 39442.12
Subtract 1588 from 1760 to get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Step 11:
If we divide 1720 by 794, we get 2 and a remainder of 132.
The next digit of our result is 2. 
Result so far: 39442.122
If we take 1588 away from 1720, we end up with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

The quotient of the division is 39442.122, and the remainder is 0.0132.