code: def rounddown(ctx, number, num_digits):
      
      number = conversions.to_decimal(number, ctx)
      num_digits = conversions.to_integer(num_digits, ctx)
  
      return decimal_round(number, num_digits, ROUND_DOWN)
docs: Rounds a number down, toward zero