Confusion with the precision digits

I implemented code with precision count 6, It always return with precision upto 5 digits.
May I know why this happen?

@Jun18ELX0045 Could you please provide your code in Coding Blocks IDE

I would like to just point one common mistake, you might having the wrong check condition in for loop, correct condition is T<=P
If this resolves your doubt mark it as resolved.