Let's divide 815818 by 45
We want to divide 815818 by 45.

Going ahead to step 1:
8 divided by 45 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 45

On to step 2:
When dividing 81 by 45, we get 1 with a remainder of 36.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 45 from 81, we get 36.
Fetch the next digit (5) from the dividend, attach it to 36 and continue: 365 / 45

Step 3:
The number 45 fits into 365 8 times, leaving a remainder of 5.
The next digit of our result is 8. 
Result so far: 18.0
Subtract 360 from 365 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 45

Step 4:
45 goes into 58 1 times with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 181.0
Subtract 45 from 58 to get 13.
Append the next digit (1) from the dividend to 13 and continue with: 131 / 45

On to step 5:
If we divide 131 by 45, we get 2 and a remainder of 41.
Write down 2 as next digit of the result. 
Result so far: 1812.0
Subtract 90 from 131 to get 41.
Grab the next digit (8) from the dividend, add it to 41, then carry on: 418 / 45

Moving on to step 6:
The number 45 fits into 418 9 times, leaving a remainder of 13.
Write down 9 as next digit of the result. 
Result so far: 18129.0
If we take 405 away from 418, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
If we divide 130 by 45, we get 2 and a remainder of 40.
The number 2 becomes the next digit in our result. 
Result so far: 18129.2
If we take 90 away from 130, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
The next digit of our result is 8. 
Result so far: 18129.28
Deduct 360 from 400 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 9:
When dividing 400 by 45, we get 8 with a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 18129.288
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final outcome is 18129.288, with a leftover of 0.004.