I changed something in my code and now it's not working

Not sure if this will help…
The fmap() function.

float mapping - works like map()