We look at the division of 18540391 by 793 
Our goal is to divide 18540391 by 793.

Let's proceed to step 1:
793 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 793

Advancing to step 2:
18 divided by 793 is 0 with a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Include the next digit (5) from the dividend after 18, then repeat: 185 / 793

Let's proceed to step 3:
185 divided by 793 is 0 with a remainder of 185.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 185 to get 185.
Append the next digit (4) from the dividend to 185 and continue with: 1854 / 793

On to step 4:
The number 793 fits into 1854 2 times, leaving a remainder of 268.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 1586 away from 1854, we end up with 268.
Grab the next digit (0) from the dividend, add it to 268, then carry on: 2680 / 793

Going ahead to step 5:
If we divide 2680 by 793, we get 3 and a remainder of 301.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
Subtracting 2379 from 2680 leaves us with 301.
Bring next digit (3) of the dividend behind the 301 and repeat the process: 3013 / 793

Let's proceed to step 6:
If we divide 3013 by 793, we get 3 and a remainder of 634.
Record the quotient 3 as the next digit in the result. 
Result so far: 233.0
If we subtract 2379 from 3013, we get 634.
Append the next digit (9) from the dividend to 634 and continue with: 6349 / 793

Let's proceed to step 7:
793 can be fit into 6349 8 times, resulting in a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 2338.0
The remainder is 5 after subtracting 6344 from 6349.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 793

Going ahead to step 8:
The number 793 fits into 51 0 times, leaving a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 23380.0
The remainder is 51 after subtracting 0 from 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Advancing to step 9:
If we divide 510 by 793, we get 0 and a remainder of 510.
Put 0 as the next digit of the answer. 
Result so far: 23380.0
The remainder is 510 after subtracting 0 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Moving on to step 10:
If we divide 5100 by 793, we get 6 and a remainder of 342.
Put 6 as the next digit of the answer. 
Result so far: 23380.06
Subtract 4758 from 5100 to get 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Moving on to step 11:
793 goes into 3420 4 times with a remainder of 248.
Use 4 as the next digit of our solution. 
Result so far: 23380.064
The remainder is 248 after subtracting 3172 from 3420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Moving on to step 12:
If we divide 2480 by 793, we get 3 and a remainder of 101.
Write down 3 as next digit of the result. 
Result so far: 23380.0643
If we subtract 2379 from 2480, we get 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Moving on to step 13:
If we divide 1010 by 793, we get 1 and a remainder of 217.
Write down 1 as next digit of the result. 
Result so far: 23380.06431
Subtracting 793 from 1010 leaves us with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Let's proceed to step 14:
The number 793 fits into 2170 2 times, leaving a remainder of 584.
Record the quotient 2 as the next digit in the result. 
Result so far: 23380.064312
If we subtract 1586 from 2170, we get 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

Moving on to step 15:
793 goes into 5840 7 times with a remainder of 289.
Write down 7 as next digit of the result. 
Result so far: 23380.0643127
If we take 5551 away from 5840, we end up 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.

On to step 16:
The number 793 fits into 2890 3 times, leaving a remainder of 511.
Use 3 as the next digit of our solution. 
Result so far: 23380.06431273
Deduct 2379 from 2890 and we're left with 511.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5110, and continue the process.

The final outcome is 23380.06431273, with a leftover of 5.11e-07.