funzione map su variabile float

Direi che basta leggere il reference della funzione map() :smiling_imp:

The map() function uses integer math so will not generate fractions, when the math might indicate that it should do so. Fractional remainders are truncated, and are not rounded or averaged.

Guglielmo