AddOutput(self::OUTPUT_NUMBER, NumberIOFormat::class); } /** * Compute the expression and set the output values. * * @param string $sEventType * * @return mixed * @throws FormBlockException */ public function ComputeExpression(string $sEventType): mixed { $oResult = parent::ComputeExpression($sEventType); // Update output $iVal = intval($oResult); $this->GetOutput(self::OUTPUT_NUMBER)->SetValue($sEventType, new NumberIOFormat($iVal)); return $oResult; } }