PyFloat_AsDouble C/API function

Kostyantyn Teplynskyy kostya at
Mon Mar 31 13:00:38 CEST 2003

	Hellow, can somebody explain me why PyFloat_AsDouble converts only to 3 
decimal places. Example

a = 318.1623455
b.set(a)     # in set С function I call PyFloat_AsDouble
print b 

	If you know any solution of this problem, please give me advice, thanking you 
in anticipation. 
Best regards !
Mit freundlichem Gruss !
C наилучшими пожеланиями !
Konstanitin Teplinskiy,
Mail: kostya at

More information about the Python-list mailing list