What @Nived_Nambiar is actually not necessary, because variables that you set with a numeric value will always be of type number.
The reason you are experiencing this issue is because of a known bug in PAD. In order for variables to work in selectors, you need to enable the "Text editor":

-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.