<human>:  Write me a Python program to round a float to an int in 1 decimal place.
<bot>: Here is a Python program to round a float to an int in 1 decimal place

import math

def _round_to_int(number, decimal_places=1):
  """
  Round a float to an int in 1 decimal place
  """
  return int(round(number, decimal_places))

# Enter the number
number = 0.5

# Calling the function
print((_round_to_int(number, decimal_places=1)))

#Example Output
# 0

#Remember to inspect code for bugs.