Hi

Can anyone help me convert this formula to Javascript:

=IF((E9*0.05)>2, E9*0.05, 2)

(IF(logical_test,value_if_true,value_if_false))

Not sure how to go about the if statement and the value if true function in Javascript.

Hope some one can help!

Many thanks!