@spiceErrorCheck<EOL>def repmf(instr, marker, value, sigdig, informat, lenout=None):
if lenout is None:<EOL><INDENT>lenout = ctypes.c_int(len(instr) + len(marker) + <NUM_LIT:15>)<EOL><DEDENT>instr = stypes.stringToCharP(instr)<EOL>marker = stypes.stringToCharP(marker)<EOL>value = ctypes.c_double(value)<EOL>sigdig = ctypes.c_int(sigdig)<EOL>informat = ctypes.c_char(informat.encode(encoding='<STR_LIT>'))<EOL>out = stypes.stringToCharP(lenout)<EOL>libspice.repmf_c(instr, marker, value, sigdig, informat, lenout, out)<EOL>return stypes.toPythonString(out)<EOL>
Replace a marker in a string with a formatted double precision value.

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

:param instr: Input string.
:type instr: str
:param marker: Marker to be replaced.
:type marker: str
:param value: Replacement value.
:type value: float
:param sigdig: Significant digits in replacement text.
:type sigdig: int
:param informat: Format 'E' or 'F'.
:type informat: str
:param lenout: Optional available space in output string.
:type lenout: int
:return: Output string.
:rtype: str