show decimals only if necessary