match units with floats