Conform to spec. when writing floats
Conform to spec. when writing floats

FloatObject.writeToStream could output "1.1 E-1", but the PDF specification
§7.3.3 "Numeric Objects" doesn't allow exponential notation. We now conforms
to the specification by manually outputing:
* fractional numbers with 5 digits precision;
* integers without exponent.

The output stream now tends to include useless extraneous zeros, but a few
extra bytes are still better than writing unparsable PDFs.

Patch from Kjo Hansi Glaz <kjo@a4nancy.net.eu.org>

mfenniak/pyPdf