Upcasting anything read by esri to double