controlling a StaticSwitch with a Float/Scalar/Constant 1 in a Material

Hey Guys, i want to control a StaticSwitch with a Float…
currently iam trying to do this with a IF Node.

but i get an errors
Error [SM5] (Node If) Attempting to perform arithmetic on non-numeric types: static bool static bool
Error [SM5] (Node If) Cannot force a cast between non-numeric types.

i want to control the switch out of the cascade editor via the dynamic parameter. so it have to be a float.
is there a way to convert a float to a bool ??

Closing as duplicate: controlling a StaticSwitch with a Float/Scalar/Constant 1 in a Material - Rendering - Epic Developer Community Forums