public String getValue()
	{
		StringBuffer returnedValue = new StringBuffer();
		String tempValue = getValueWithZeros();
		boolean leadingZero = true;

		for (int x = 0; x < tempValue.length(); x++)
		{
			if (tempValue.charAt(x) != '0')
			{
				leadingZero = false;
				returnedValue.append(tempValue.charAt(x));
			}
			else if (tempValue.charAt(x) == '0' && !leadingZero)
				returnedValue.append(tempValue.charAt(x));
		}

		while (returnedValue.charAt(returnedValue.length() - 1) == '0' && isDecimal(tempValue))
			returnedValue.deleteCharAt(returnedValue.length() - 1);

		if (returnedValue.charAt(returnedValue.length() - 1) == '.')
			returnedValue.deleteCharAt(returnedValue.length() - 1);

		if (returnedValue.length() == 0)
			returnedValue.append("0");

		return returnedValue.toString();
	}