Convert mock to double