PyFloat_AsString

Write str(v) into the char buffer argument, followed by null byte. The buffer must be "big enough"; >= 100 is very safe. Note that it's unusual to be able to get back the float you started with from PyFloat_AsString's result -- use PyFloat_AsReprString() if you want to Availability: 2.* preserve precision across conversions.

version(!Python_3_0_Or_Later)
extern (C)
void
PyFloat_AsString
(
char*
,)

Meta