if you look at the gate documentation, float and int are treated the same…, both will select the gate outlet…

if you pull up help in max, type in javascript into the search, then scroll to the bottom there should be a ‘Javascript in Max’ section – open this up and then there are a number of sections describing the js objects and what calls/properties they have. the bit relevant to this is at the bottom under the ‘Maxobj methods’ heading…