def getFloatByPrefixBeginEnd(prefixBegin, prefixEnd, valueFloat, xmlElement):
 valueFloat = evaluate.getEvaluatedFloatDefault(valueFloat, prefixBegin, xmlElement)
 if (prefixEnd in xmlElement.attributeDictionary):
  return (0.5 * evaluate.getEvaluatedFloatDefault((valueFloat + valueFloat), prefixEnd, xmlElement))
 else:
  return valueFloat

def getFloatByPrefixBeginEnd ( prefixBegin , prefixEnd , valueFloat , xmlElement ) : valueFloat = evaluate . getEvaluatedFloatDefault ( valueFloat , prefixBegin , xmlElement ) if ( prefixEnd in xmlElement . attributeDictionary ) : return ( 0.5 * evaluate . getEvaluatedFloatDefault ( ( valueFloat + valueFloat ) , prefixEnd , xmlElement ) ) else : return valueFloat
get float from prefixbegin .