protected static Ptg calcOdd( Ptg[] operands )
	{
		if( operands.length != 1 )
		{
			return PtgCalculator.getNAError();
		}
		double dd = 0.0;
		try
		{
			dd = operands[0].getDoubleVal();
		}
		catch( NumberFormatException e )
		{
			return PtgCalculator.getValueError();
		}
		if( new Double( dd ).isNaN() ) // Not a Num -- possibly PtgErr
		{
			return PtgCalculator.getError();
		}

		long resnum = Math.round( dd );
		// always round up!!
		if( resnum < dd )
		{
			resnum++;
		}
		double remainder = resnum % 2;
		if( remainder == 0 )
		{
			resnum++;
		}
		PtgInt pint = new PtgInt( (int) resnum );
		return pint;
	}