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

Going ahead to step 1:
If we divide 5 by 540, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 540

Moving on to step 2:
540 goes into 58 0 times with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Fetch the next digit (9) from the dividend, attach it to 58 and continue: 589 / 540

On to step 3:
589 divided by 540 is 1 with a remainder of 49.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 540 from 589, we get 49.
Include the next digit (8) from the dividend after 49, then repeat: 498 / 540

Let's proceed to step 4:
When dividing 498 by 540, we get 0 with a remainder of 498.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 498 and we're left with 498.
Bring next digit (7) of the dividend behind the 498 and repeat the process: 4987 / 540

Moving on to step 5:
The number 540 fits into 4987 9 times, leaving a remainder of 127.
Write down 9 as next digit of the result. 
Result so far: 109.0
If we take 4860 away from 4987, we end up with 127.
Append the next digit (7) from the dividend to 127 and continue with: 1277 / 540

Step 6:
The number 540 fits into 1277 2 times, leaving a remainder of 197.
Put 2 as the next digit of the answer. 
Result so far: 1092.0
Deduct 1080 from 1277 and we're left with 197.
Append the next digit (8) from the dividend to 197 and continue with: 1978 / 540

Advancing to step 7:
1978 divided by 540 is 3 with a remainder of 358.
Use 3 as the next digit of our solution. 
Result so far: 10923.0
Subtract 1620 from 1978 to get 358.
Take the next digit (3) from the dividend and append it to 358, then repeat: 3583 / 540

Moving on to step 8:
When dividing 3583 by 540, we get 6 with a remainder of 343.
Write down 6 as next digit of the result. 
Result so far: 109236.0
Deduct 3240 from 3583 and we're left with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

On to step 9:
The number 540 fits into 3430 6 times, leaving a remainder of 190.
The number 6 becomes the next digit in our result. 
Result so far: 109236.6
Deduct 3240 from 3430 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Advancing to step 10:
When dividing 1900 by 540, we get 3 with a remainder of 280.
Use 3 as the next digit of our solution. 
Result so far: 109236.63
If we take 1620 away from 1900, we end up with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 11:
540 can be fit into 2800 5 times, resulting in a remainder of 100.
The number 5 becomes the next digit in our result. 
Result so far: 109236.635
Subtracting 2700 from 2800 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 12:
540 can be fit into 1000 1 times, resulting in a remainder of 460.
The next digit of our result is 1. 
Result so far: 109236.6351
The remainder is 460 after subtracting 540 from 1000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Step 13:
The number 540 fits into 4600 8 times, leaving a remainder of 280.
Record the quotient 8 as the next digit in the result. 
Result so far: 109236.63518
The remainder is 280 after subtracting 4320 from 4600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Step 14:
The number 540 fits into 2800 5 times, leaving a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 109236.635185
Subtract 2700 from 2800 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 15:
1000 divided by 540 is 1 with a remainder of 460.
The number 1 becomes the next digit in our result. 
Result so far: 109236.6351851
The remainder is 460 after subtracting 540 from 1000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

On to step 16:
If we divide 4600 by 540, we get 8 and a remainder of 280.
The number 8 becomes the next digit in our result. 
Result so far: 109236.63518518
Deduct 4320 from 4600 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

The final outcome is 109236.63518518, with a leftover of 2.8e-07.