I am working with floats and am wondering how I can trim the decimal
and trailing zeros on my whole numbers. For instance, whole numbers
are being displayed as 1.0, 2.0, 3.0, etc… I would like to remove
the decimal and any trailing zeros with out effecting other non-whole
number floats (ex. 1.375).
Any ideas? Help appreciated.