I just want to say I tried the Int function in scripting and it did not work, but that is probably my issue. I did follow this forum and tried in the expression to convert it to an Int and it did work.
Binding to dropdown to page parameter not working - Ignition - Inductive Automation Forum