funzione map su variabile float