def _get_default_entrance_exam_minimum_pct():
 entrance_exam_minimum_score_pct = float(settings.ENTRANCE_EXAM_MIN_SCORE_PCT)
 if entrance_exam_minimum_score_pct.is_integer():
  entrance_exam_minimum_score_pct = (entrance_exam_minimum_score_pct / 100)
 return entrance_exam_minimum_score_pct

def _get_default_entrance_exam_minimum_pct ( ) : entrance_exam_minimum_score_pct = float ( settings . ENTRANCE_EXAM_MIN_SCORE_PCT ) if entrance_exam_minimum_score_pct . is_integer ( ) : entrance_exam_minimum_score_pct = ( entrance_exam_minimum_score_pct / 100 ) return entrance_exam_minimum_score_pct
helper method to return the default value from configuration converts integer values to decimals .