mapnik/mapnik — pull request #1632 by strk (2012-12-06 12:12:13+00:00)
Title: Fix float data conversion to string

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