40155124 divided by 259 
Our goal is to divide 40155124 by 259.

Moving on to step 1:
The number 259 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 259

Going ahead to step 2:
If we divide 40 by 259, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 259

Going ahead to step 3:
259 can be fit into 401 1 times, resulting in a remainder of 142.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 259 from 401 leaves us with 142.
Include the next digit (5) from the dividend after 142, then repeat: 1425 / 259

Advancing to step 4:
259 can be fit into 1425 5 times, resulting in a remainder of 130.
Use 5 as the next digit of our solution. 
Result so far: 15.0
The remainder is 130 after subtracting 1295 from 1425.
Take the next digit (5) from the dividend and append it to 130, then repeat: 1305 / 259

On to step 5:
259 goes into 1305 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 155.0
If we take 1295 away from 1305, we end up with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 259

On to step 6:
When dividing 101 by 259, we get 0 with a remainder of 101.
Use 0 as the next digit of our solution. 
Result so far: 1550.0
Deduct 0 from 101 and we're left with 101.
Take the next digit (2) from the dividend and append it to 101, then repeat: 1012 / 259

Moving on to step 7:
When dividing 1012 by 259, we get 3 with a remainder of 235.
Use 3 as the next digit of our solution. 
Result so far: 15503.0
Subtracting 777 from 1012 leaves us with 235.
Fetch the next digit (4) from the dividend, attach it to 235 and continue: 2354 / 259

Advancing to step 8:
When dividing 2354 by 259, we get 9 with a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 155039.0
Subtract 2331 from 2354 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
259 goes into 230 0 times with a remainder of 230.
Put 0 as the next digit of the answer. 
Result so far: 155039.0
Subtracting 0 from 230 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

On to step 10:
259 goes into 2300 8 times with a remainder of 228.
Record the quotient 8 as the next digit in the result. 
Result so far: 155039.08
The remainder is 228 after subtracting 2072 from 2300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Step 11:
The number 259 fits into 2280 8 times, leaving a remainder of 208.
Write down 8 as next digit of the result. 
Result so far: 155039.088
Deduct 2072 from 2280 and we're left with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

The quotient of the division is 155039.088, and the remainder is 0.0208.