public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE) {final String hex;if (numberVE instanceof RefEval) {RefEval re = (RefEval) numberVE;hex = OperandResolver.coerceValueToString(re.getInnerValueEval(re.getFirstSheetIndex()));} else {hex = OperandResolver.coerceValueToString(numberVE);}try {return new NumberEval(BaseNumberUtils.convertToDecimal(hex, HEXADECIMAL_BASE, MAX_NUMBER_OF_PLACES));}  catch (IllegalArgumentException e) {return ErrorEval.NUM_ERROR;}}

public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval numberVE ) { final String hex ; if ( numberVE instanceof RefEval ) { RefEval re = ( RefEval ) numberVE ; hex = OperandResolver . coerceValueToString ( re . getInnerValueEval ( re . getFirstSheetIndex ( ) ) ) ; } else { hex = OperandResolver . coerceValueToString ( numberVE ) ; } try { return new NumberEval ( BaseNumberUtils . convertToDecimal ( hex , HEXADECIMAL_BASE , MAX_NUMBER_OF_PLACES ) ) ; } catch ( IllegalArgumentException e ) { return ErrorEval . NUM_ERROR ; } }
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE){String hex;if (numberVE is RefEval){RefEval re = (RefEval)numberVE;hex = OperandResolver.CoerceValueToString(re.GetInnerValueEval(re.FirstSheetIndex));}else{hex = OperandResolver.CoerceValueToString(numberVE);}try{return new NumberEval(BaseNumberUtils.ConvertToDecimal(hex, HEXADECIMAL_BASE, MAX_NUMBER_OF_PLACES));}catch (ArgumentException){return ErrorEval.NUM_ERROR;}}
