It sounds like you're dealing with a situation involving rounding or approximating a repeating decimal. When a number is expressed as 7 with a repeating decimal (7.777...), it can be mathematically expressed as:
\[ 7.777... = 7 + 0.777... \]
The repeating portion 0.777... can be shown to equal \( \frac{7}{9} \), making the total equal to:
\[ 7 + \frac{7}{9} = \frac{63}{9} + \frac{7}{9} = \frac{70}{9} \approx 7.777... \]
If you're using a calculator that rounds numbers, it could be approximating this number to the nearest whole number. In many cases, when rounding, a decimal of 0.5 or higher rounds up, while a decimal below 0.5 rounds down. If we consider 7.777... as roughly 8 when rounded to the nearest integer, that would explain why it's being displayed as 8 on your calculator.
If this doesn’t specifically address your situation, please provide more context about how you're inputting the number or the calculations involved, and I can provide more precise clarification!