How is the HRV 7 day average calculated?

Hello, can someone tell me how the 7day HRV Average is calculated. I try to comprehend this value of 49, but I don't get it!

If I add the last 7 night values and divide it by 7 it's not Garmins value...