RLP Help Referencing EM:Blocks math.h

I’m creating a RLP function for the Bee board which uses the math function floor(). But when I
#include "math.h"
I get an error in Em::Blocks build log:
undefined reference to 'Floor’
Em::Blocks wiki didn’t help fix this issue.
Does anybody have any suggestions on how to fix this problem?
Thx

You will need to add the math library to the linker. I am not sure how though.

That is a compile time error, so I suspect that you have typed “Floor” with uppercase ‘F’, the library function is “floor” with a lowercase ‘f’.

Ok I’ve made a stupid mistake. When I copied the code over from C# to C++, I didn’t change Floor to floor with a lower case f. Now I have no build errors.
Thanks