We're dividing 40583747 by 180 
Our goal is to divide 40583747 by 180.

Advancing to step 1:
180 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 180

Let's proceed to step 2:
40 divided by 180 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (5) from the dividend to 40 and continue with: 405 / 180

Step 3:
When dividing 405 by 180, we get 2 with a remainder of 45.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 360 from 405, we get 45.
Include the next digit (8) from the dividend after 45, then repeat: 458 / 180

On to step 4:
When dividing 458 by 180, we get 2 with a remainder of 98.
Put 2 as the next digit of the answer. 
Result so far: 22.0
If we take 360 away from 458, we end up with 98.
Append the next digit (3) from the dividend to 98 and continue with: 983 / 180

Going ahead to step 5:
If we divide 983 by 180, we get 5 and a remainder of 83.
Use 5 as the next digit of our solution. 
Result so far: 225.0
If we take 900 away from 983, we end up with 83.
Fetch the next digit (7) from the dividend, attach it to 83 and continue: 837 / 180

Moving on to step 6:
837 divided by 180 is 4 with a remainder of 117.
The number 4 becomes the next digit in our result. 
Result so far: 2254.0
Subtracting 720 from 837 leaves us with 117.
Bring next digit (4) of the dividend behind the 117 and repeat the process: 1174 / 180

On to step 7:
When dividing 1174 by 180, we get 6 with a remainder of 94.
The number 6 becomes the next digit in our result. 
Result so far: 22546.0
The remainder is 94 after subtracting 1080 from 1174.
Fetch the next digit (7) from the dividend, attach it to 94 and continue: 947 / 180

On to step 8:
180 goes into 947 5 times with a remainder of 47.
Write down 5 as next digit of the result. 
Result so far: 225465.0
The remainder is 47 after subtracting 900 from 947.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Moving on to step 9:
If we divide 470 by 180, we get 2 and a remainder of 110.
The next digit of our result is 2. 
Result so far: 225465.2
Subtracting 360 from 470 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 10:
180 can be fit into 1100 6 times, resulting in a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 225465.26
Subtracting 1080 from 1100 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
180 can be fit into 200 1 times, resulting in a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 225465.261
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
200 divided by 180 is 1 with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 225465.2611
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 225465.2611, with a leftover of 0.0002.