We're dividing 31838 by 90 
We want to figure out the number of times 31838 can be divided by 90.

Let's proceed to step 1:
90 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 90

Moving on to step 2:
When dividing 31 by 90, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 90

Step 3:
318 divided by 90 is 3 with a remainder of 48.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 270 from 318, we get 48.
Bring next digit (3) of the dividend behind the 48 and repeat the process: 483 / 90

On to step 4:
When dividing 483 by 90, we get 5 with a remainder of 33.
Use 5 as the next digit of our solution. 
Result so far: 35.0
Subtract 450 from 483 to get 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 90

On to step 5:
If we divide 338 by 90, we get 3 and a remainder of 68.
Use 3 as the next digit of our solution. 
Result so far: 353.0
The remainder is 68 after subtracting 270 from 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 6:
If we divide 680 by 90, we get 7 and a remainder of 50.
Use 7 as the next digit of our solution. 
Result so far: 353.7
Deduct 630 from 680 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 7:
The number 90 fits into 500 5 times, leaving a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 353.75
The remainder is 50 after subtracting 450 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 8:
The number 90 fits into 500 5 times, leaving a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 353.755
Deduct 450 from 500 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

The final outcome is 353.755, with a leftover of 0.005.