40300535 ÷ 768 
We want to divide 40300535 by 768.

Moving on to step 1:
768 goes into 4 0 times with 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 768

Moving on to step 2:
When dividing 40 by 768, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 768

Let's proceed to step 3:
When dividing 403 by 768, we get 0 with a remainder of 403.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 403 and we're left with 403.
Include the next digit (0) from the dividend after 403, then repeat: 4030 / 768

Step 4:
When dividing 4030 by 768, we get 5 with a remainder of 190.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 3840 from 4030 and we're left with 190.
Bring next digit (0) of the dividend behind the 190 and repeat the process: 1900 / 768

On to step 5:
768 can be fit into 1900 2 times, resulting in a remainder of 364.
Record the quotient 2 as the next digit in the result. 
Result so far: 52.0
If we take 1536 away from 1900, we end up with 364.
Bring next digit (5) of the dividend behind the 364 and repeat the process: 3645 / 768

On to step 6:
3645 divided by 768 is 4 with a remainder of 573.
The next digit of our result is 4. 
Result so far: 524.0
Subtract 3072 from 3645 to get 573.
Append the next digit (3) from the dividend to 573 and continue with: 5733 / 768

Let's proceed to step 7:
When dividing 5733 by 768, we get 7 with a remainder of 357.
The number 7 becomes the next digit in our result. 
Result so far: 5247.0
If we subtract 5376 from 5733, we get 357.
Take the next digit (5) from the dividend and append it to 357, then repeat: 3575 / 768

On to step 8:
The number 768 fits into 3575 4 times, leaving a remainder of 503.
The number 4 becomes the next digit in our result. 
Result so far: 52474.0
The remainder is 503 after subtracting 3072 from 3575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

Step 9:
5030 divided by 768 is 6 with a remainder of 422.
The number 6 becomes the next digit in our result. 
Result so far: 52474.6
Subtract 4608 from 5030 to get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Moving on to step 10:
4220 divided by 768 is 5 with a remainder of 380.
Record the quotient 5 as the next digit in the result. 
Result so far: 52474.65
Deduct 3840 from 4220 and we're left with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 11:
If we divide 3800 by 768, we get 4 and a remainder of 728.
Write down 4 as next digit of the result. 
Result so far: 52474.654
Deduct 3072 from 3800 and we're left with 728.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7280, and continue the process.

Moving on to step 12:
The number 768 fits into 7280 9 times, leaving a remainder of 368.
The number 9 becomes the next digit in our result. 
Result so far: 52474.6549
Subtracting 6912 from 7280 leaves us with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Going ahead to step 13:
When dividing 3680 by 768, we get 4 with a remainder of 608.
The number 4 becomes the next digit in our result. 
Result so far: 52474.65494
The remainder is 608 after subtracting 3072 from 3680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6080, and continue the process.

Step 14:
The number 768 fits into 6080 7 times, leaving a remainder of 704.
The number 7 becomes the next digit in our result. 
Result so far: 52474.654947
Subtract 5376 from 6080 to get 704.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7040, and continue the process.

On to step 15:
When dividing 7040 by 768, we get 9 with a remainder of 128.
Put 9 as the next digit of the answer. 
Result so far: 52474.6549479
If we take 6912 away from 7040, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 16:
The number 768 fits into 1280 1 times, leaving a remainder of 512.
The number 1 becomes the next digit in our result. 
Result so far: 52474.65494791
The remainder is 512 after subtracting 768 from 1280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

The final result is 52474.65494791 with a remainder of 5.12e-07.