Using Math Expression node to perform Factorials

Is there any way to use the math expression node to use factorials? It says in the unreal docs that ‘!’ is not a supported operator so I was wondering if there’s another way to write it, thanks.

1 Like

This is my current solution, it works but it’s not very elegant.

1 Like