Well inside of your menu you can check all number inputs (the basic numbers. Just search for the number in your context menu).
If you want input (make a bool which determines that) add whatever is input to a string (since you can’t that easily append a number) and then use the “to Float” node.
There’s no really easy was as far as I know.