21158 divided by 36 
Let's see how many times 36 fits into 21158.

On to step 1:
When dividing 2 by 36, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 36

Let's proceed to step 2:
36 goes into 21 0 times with a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Take the next digit (1) from the dividend and append it to 21, then repeat: 211 / 36

Going ahead to step 3:
If we divide 211 by 36, we get 5 and a remainder of 31.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 180 from 211 and we're left with 31.
Bring next digit (5) of the dividend behind the 31 and repeat the process: 315 / 36

Going ahead to step 4:
The number 36 fits into 315 8 times, leaving a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
The remainder is 27 after subtracting 288 from 315.
Take the next digit (8) from the dividend and append it to 27, then repeat: 278 / 36

Advancing to step 5:
36 goes into 278 7 times with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 587.0
The remainder is 26 after subtracting 252 from 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 6:
36 can be fit into 260 7 times, resulting in a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 587.7
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
The number 36 fits into 80 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 587.72
If we subtract 72 from 80, we get 8.
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 8:
The number 36 fits into 80 2 times, leaving a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 587.722
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 587.722 with a remainder of 0.0008.