code: def intround(value):
      
  
      return int(decimal.Decimal.from_float(
          value).to_integral_value(decimal.ROUND_HALF_EVEN))
docs: Given a float returns a rounded int. Should give the same result on
      both Py2/3