Hi Dave,
It must be because of the type: the "Number_X" (and "Number_Y") parameters of the Tile Generator use an integer 1 value.
If your function output a float, or an integer 2 for example, it will not fit. You can use the "Cast" (if you need to convert from float to integer) or "Vector=>Swizzle Integer 1" (if you want to get an integer 1 from an integer 2) for example.