public static Ptg calcNormInv( Ptg[] operands )
	{
		try
		{

			double p = operands[0].getDoubleVal();
			if( (p < 0) || (p > 1) )
			{
				return new PtgErr( PtgErr.ERROR_NUM );
			}
			double mean = operands[1].getDoubleVal();
			double stddev = operands[2].getDoubleVal();
			if( stddev <= 0 )
			{
				return new PtgErr( PtgErr.ERROR_NUM );
			}
			// If mean = 0 and standard_dev = 1, NORMINV uses the standard normal inverse (see NORMSINV).
			double result = quartile( p, mean, stddev );
			return new PtgNumber( result );
		}
		catch( Exception e )
		{
			;
		}
		return new PtgErr( PtgErr.ERROR_VALUE );
	}