Function parameter gives null. Dunno why.

Zrzut ekranu 2021-01-09 170915.jpg](http://filedata/fetch?id=1850894&d=1610208564)
Message from log:
LogTemp: Warning: Current: (null)

Help me please

%s is for Strings, you need %f for floats. printf - C++ Reference

Now it returns:
LogTemp: Warning: Current: 0.000000
LogTemp: Warning: Current: 0.000000

You are passing the parameters by value, if you want to modify them pass by reference:


RandomPoint**(float &X, float &Y)**
{
...
}

Thank you! I’ve been working on it for 3 days and thanks to you everything works properly! U’r my hero