Convert stub to double