Trim meaningless decimal part