Can't use 'f' suffix for floats

I’m very new to Unreal Engine and I’m trying to work out how to use C++ with it. (I’ve been using C# with Unity for a few months, and only know the very basics of C++.)
My issue is that when I use the ‘f’ after a number to make it a float, I get this error:

error C3688: invalid literal suffix ‘f’; literal operator or literal operator template ‘operator ""f’ not found

It seems that everybody else uses the ‘f’ suffix for floats, so why does it not work for me? Apologies for such a basic question…

Works for me

Make sure to include the dot. In Unity C# you don’t need to.

Ok, thanks very much :slight_smile: