def getFloatDefaultByDictionary(defaultFloat, dictionary, key):
 evaluatedFloat = None
 if (key in dictionary):
  evaluatedFloat = getFloatFromValue(dictionary[key])
 if (evaluatedFloat == None):
  return defaultFloat
 return evaluatedFloat

def getFloatDefaultByDictionary ( defaultFloat , dictionary , key ) : evaluatedFloat = None if ( key in dictionary ) : evaluatedFloat = getFloatFromValue ( dictionary [ key ] ) if ( evaluatedFloat == None ) : return defaultFloat return evaluatedFloat
get the value as a float .