What is the c++ equivalent for random float in range from stream?

I’ve been using blueprint get random float in range from stream, I don’t see any documentation but maybe my google phrasing was wrong.

Also any libraries I need to include, and parameter options would be appreciated.

Try this

FRandomStream Stream(0); //Init with seed 0

float RandomFloat = Stream.FRand(); //0 to 1

RandomFloat = Stream.FRandRange(0.f, 100.f); //Random in range

The FMath library is what you’re looking for

FMath::RandRange(0.1, 1.0);

In case you dont already know, when you hover over a blueprint node such as the “Random float in Range” node, it’ll tell you what library its from (which is useful if you want to use it in C++).
image

(In this particular instance, both the FMath library and UKismetMathLibrary have this same function.