def bin_from_float(number: float):
    """Return binary from float value.

    >>> bin_from_float(446.15625)
    0b110111110.00101
    """

    integer = int(number)
    fractional = abs(number) % 1

    count = len(str(fractional)[2:])

    binary = []
    while (count > 0):
        # print(number, integer, fractional)
        fractional = fractional * 2
        if fractional >= 1:
            fractional = fractional - 1
            binary.append('1')
        else:
            binary.append('0')
        count -= 1

    if binary:
        return '{}.{}'.format(bin(integer), ''.join(binary))

    return bin(integer)