final private static String trimZeroes(String output)
	{
		String copyOfOutput = output;
		if (copyOfOutput.contains("."))
		{
			while (copyOfOutput.substring(copyOfOutput.length() - 1, copyOfOutput.length()).equals("0"))
			{
				if (copyOfOutput.length() > 1)
				{
					copyOfOutput = copyOfOutput.substring(0, copyOfOutput.length() - 1);
				} else
				{
					break;
				}
			}
			if (copyOfOutput.substring(copyOfOutput.length() - 1, copyOfOutput.length()).equals("."))
			{
				copyOfOutput = copyOfOutput.substring(0, copyOfOutput.length() - 1);
			}
		}
		return copyOfOutput;
	}