change value type from float to double