There's a float version of the map function in LC_baseTools you could try. (see the library manager)
-jim lee