@spiceErrorCheck<EOL>def dp2hx(number, lenout=_default_len_out):
number = ctypes.c_double(number)<EOL>lenout = ctypes.c_int(lenout)<EOL>string = stypes.stringToCharP(lenout)<EOL>length = ctypes.c_int()<EOL>libspice.dp2hx_c(number, lenout, string, ctypes.byref(length))<EOL>return stypes.toPythonString(string)<EOL>
Convert a double precision number to an equivalent character
string using base 16 "scientific notation."

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dp2hx_c.html

:param number: D.p. number to be converted.
:type number: float
:param lenout: Available space for output string.
:type lenout: int
:return: Equivalent character string, left justified.
:rtype: str