Add putDouble and getDouble