Do Math Expressions support non-float inputs?

In 4.20 it works.
There’s no need to open the graph, just change in the details panel.