mapnik/mapnik — pull request #1631 by strk (2012-12-06 11:06:04+00:00)
Title: Fix float data conversion to string (backward compatibility)

Fixes precision digits, closing #430
Also avoids forcing a trailing '.0', closing #1627

Compatibility is still not 100% matching 2.0.x because in two cases:

- Scientific notation is never used
- Decimal digits after 16th are not printed

See http://strk.keybit.net/tmp/report_full.txt