miekg/dns — pull request #158 by FiloSottile (2014-12-10 13:56:58+00:00)
Title: Add tests for LOC record String() generation and fix small problems

Added tests for the cmToM function to make sure that it's output is
correct. Modified the way the Altitude is written to a string. Previously,
if the altitude was an exact number of meters it would always be reported
with two decimal places. This is not needed. Conversely if it was not
an exact number of meters the cm were removed.

by @jgrahamc