Cast int to float in F#

f#

Solution

EDIT: misread the question...

I'm pretty sure that the `float()` function would do the job:

add 1.1 (float 2)

Problem

Learning F#, the syntax is still quite foreign to me. How do I cast this integer to float? ``` let add x y = x + y let j = 2 add 1.1 j ``` In C# Float + int= Float ``` float j = 1.1f + 5; ```

Original source