Let's divide 21450 by 40
We're looking to find how many times 40 goes into 21450.

Moving on to step 1:
When dividing 2 by 40, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 40

On to step 2:
If we divide 21 by 40, we get 0 and a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Fetch the next digit (4) from the dividend, attach it to 21 and continue: 214 / 40

Moving on to step 3:
40 can be fit into 214 5 times, resulting in a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 200 from 214, we get 14.
Bring next digit (5) of the dividend behind the 14 and repeat the process: 145 / 40

Advancing to step 4:
The number 40 fits into 145 3 times, leaving a remainder of 25.
Record the quotient 3 as the next digit in the result. 
Result so far: 53.0
Subtracting 120 from 145 leaves us with 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 40

On to step 5:
40 can be fit into 250 6 times, resulting in a remainder of 10.
Put 6 as the next digit of the answer. 
Result so far: 536.0
Subtracting 240 from 250 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 6:
40 goes into 100 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 536.2
The remainder is 20 after subtracting 80 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 536.25
Subtracting 200 from 200 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 536.25
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 536.25
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 536.25, with a leftover of 0.0.