code: def rounding_full(number, is_population=False):
      
      if number < 1000 and not is_population:
          rounding_number = 1  # See ticket #4062
      elif number < 1000 and is_population:
          rounding_number = 10
      elif number < 100000:
          rounding_number = 100
      else:
          rounding_number = 1000
      number = int(rounding_number * ceil(float(number) / rounding_number))
      return number, rounding_number
docs: This function performs a rigorous rounding.
  
      :param number: The amount to round.
      :type number: int, float
  
      :param is_population: If we should use the population rounding rule, #4062.
      :type is_population: bool
  
      :returns: result and rounding bracket.
      :rtype: (int, int)