Let's divide 540634 by 45
We want to figure out the number of times 540634 can be divided by 45.

Moving on to step 1:
When dividing 5 by 45, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 45

Advancing to step 2:
45 goes into 54 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 45 from 54 and we're left with 9.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 45

Moving on to step 3:
90 divided by 45 is 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 12.0
If we take 90 away from 90, we end up with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 45

Let's proceed to step 4:
When dividing 6 by 45, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 120.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 45

Moving on to step 5:
45 can be fit into 63 1 times, resulting in a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 1201.0
Subtracting 45 from 63 leaves us with 18.
Append the next digit (4) from the dividend to 18 and continue with: 184 / 45

Going ahead to step 6:
45 can be fit into 184 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 12014.0
Subtracting 180 from 184 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
40 divided by 45 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 12014.0
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 8:
45 goes into 400 8 times with a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 12014.08
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.

Let's proceed to step 9:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 12014.088
If we subtract 360 from 400, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Our division results in 12014.088 with a remaining 0.004.