how to calculate the real value of customer

how to calculate the real value of customer