How to create a node where it only has integers

I couldn’t find a node where I can even do that, but it is even possible to make it.
Otherwise, it should be already a suggestion for a long time