code: def round_to_int(number, precision):
      """Round a number to a precision"""
      precision = int(precision)
      rounded = (int(number) + precision / 2) // precision * precision
      return rounded
  
imports: from __future__ import division
  import re
  from decimal import Decimal
  from math import ceil, cos, floor, log10, pi, sin
label_desc: Use image node_id 3 for calling a global function with example usage: round_to_int(number, precision) and returns: rounded