PyFloat_AsDouble C/API function

Kostyantyn Teplynskyy kostya at mpi-magdeburg.mpg.de
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 
318.162

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






More information about the Python-list mailing list