getDouble

Optimized method to access primitive without boxing if possible