How is Tendency of Runways in Visibility field calculated or decoded from raw metar value?

Jul 27 at 6:12 AM
I wanted to know the calculation process of Tendency field. Could you clarify it, please?