just tell me what is double and its function