Handle range data sent as doubles
Swig/Python bindings: range data should be handled internally as doubles.