<gh_stars>100-1000
def cs_round(val, digits = 0):
  x = float(val) if  type(val).__name__ == 'str' or  type(val).__name__ == 'unicode' else val
  y = int(digits) if  type(val).__name__ == 'str' or  type(val).__name__ == 'unicode' else digits

  return str(round(x) if y == 0 else round(x, y))

def cs_round(val, digits = 0):
  x = float(val) if  type(val).__name__ == 'str' or  type(val).__name__ == 'unicode' else val
  y = int(digits) if  type(val).__name__ == 'str' or  type(val).__name__ == 'unicode' else digits

  return str(round(x) if y == 0 else round(x, y))