Removal of Decimal Places

Sounds like your problem is more to do with leading zero suppression than decimals.
If your first number to display occupies 4 digits, but subsequent ones are three digits, then the fourth digit may not be being erased.

You could try printing trailing spaces, though it is visually better (IMO) to print leading spaces.