Note that the "lower bounds" of either range may be larger or smaller than the "upper bounds" so the map() function may be used to reverse a range of numbers...The function also handles negative numbers well

Source: http://arduino.cc/en/Reference/Map

Can the map function also assign a range of a numbers to an association to just one number?

For example:

```
//assign analog read to a value of 5 if range of analog read is between 1 and 1023
y=map(x, 1, 1023, 5, 5);
//or
y=map(x, 1, 1023, 5);
```