def float_to_mac(mac_as_float_str):
    """Convert a float string to a mac address string
    Args:
        mac_as_float_str (str): float represented as a string e.g. "123456.0"
            This float should be a whole number. (Right of the decimal == 0)
    Returns:
        MAC Address as a string. e.g. "00:00:00:01:e2:40"
    """
    h = '%012x' % int(mac_as_float_str.split('.')[0])
    macstr = h[:2] + ':' + h[2:4] + \
                 ':' + h[4:6] + ':' + h[6:8] + \
                 ':' + h[8:10] + ':' +  h[10:12]
    return macstr