Convert stubs to double