We divide 18540 by 5
We want to divide 18540 by 5.

Step 1:
The number 5 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 5

Advancing to step 2:
The number 5 fits into 18 3 times, leaving a remainder of 3.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 15 from 18 to get 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 5

Step 3:
When dividing 35 by 5, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 37.0
Subtracting 35 from 35 leaves us with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 5

Step 4:
The number 5 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 370.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 5

Moving on to step 5:
5 goes into 40 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 3708.0
If we subtract 40 from 40, 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.

Going ahead to step 6:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3708.0
The remainder is 0 after subtracting 0 from 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 7:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3708.0
The remainder is 0 after subtracting 0 from 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 quotient of the division is 3708.0, and the remainder is 0.0.