We look at the division of 513998 by 45 
We want to figure out the number of times 513998 can be divided by 45.

Let's proceed to step 1:
If we divide 5 by 45, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 45

Let's proceed to step 2:
51 divided by 45 is 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 45 from 51, we get 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 45

Advancing to step 3:
If we divide 63 by 45, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 45 from 63 leaves us with 18.
Append the next digit (9) from the dividend to 18 and continue with: 189 / 45

Advancing to step 4:
45 goes into 189 4 times with a remainder of 9.
Write down 4 as next digit of the result. 
Result so far: 114.0
If we subtract 180 from 189, we get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 45

Advancing to step 5:
If we divide 99 by 45, we get 2 and a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 1142.0
If we subtract 90 from 99, we get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 45

Moving on to step 6:
If we divide 98 by 45, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 11422.0
The remainder is 8 after subtracting 90 from 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
The number 45 fits into 80 1 times, leaving a remainder of 35.
Write down 1 as next digit of the result. 
Result so far: 11422.1
Subtract 45 from 80 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 8:
When dividing 350 by 45, we get 7 with a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 11422.17
The remainder is 35 after subtracting 315 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 9:
45 can be fit into 350 7 times, resulting in a remainder of 35.
The next digit of our result is 7. 
Result so far: 11422.177
If we subtract 315 from 350, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 11422.177 with a remaining 0.0035.