public function process()
    {
        $expr = $this->getExpression();
        if ($expr->getName() === MathEnumeration::E) {
            return new QtiFloat(M_E);
        } else {
            return new QtiFloat(M_PI);
        }
    }
public function process()
    {
        $expr = $this->getExpression();
        if ($expr->getName() === MathEnumeration::E) {
            return new QtiFloat(M_E);
        } else {
            return new QtiFloat(M_PI);
        }
    }
public function process ( ) { $ expr = $ this -> getExpression ( ) ; if ( $ expr -> getName ( ) === MathEnumeration :: E ) { return new QtiFloat ( M_E ) ; } else { return new QtiFloat ( M_PI ) ; } }
Process the MathConstant Expression.

@return float A float value (e or pi).
Process the MathConstant Expression .