Extracted method getNumericRepresentation