call get_value_double function only onec
Call get_value_double only once