Map() problems

Both pulseIn() and mar() return the long or unsigned long data types. Why make them floats?