proc SCHEMATIC_double_interp_to_int_convert {} {
make output -name out -origin {40 30}
make input -name in -origin {-80 30}
}

proc ICON_double_interp_to_int_convert args {
  icon_setup $args {{origin {0 0}} {orient R0} {name x}}
icon_term -type input -origin {-80 10} -name in
icon_term -type output -origin {80 10} -name out
icon_property -origin {-70 10} -label in
icon_property -origin {70 10} -anchor e -label out
icon_property -origin {-70 -40} -label {$name}
icon_property -origin {-70 -20} -label double_interp_to_int_convert
  icon_line -80 -30 80 -30 80 30 -80 30 -80 -30
  icon_property -origin {-90 100} -type user -name name -default x
}

