(message)
Convert an int/float/str to a binary number in string, e.g., 1.65 -> '110001101110110110110101'
        :param message: int/float/str
        :return: -1 if type error, otherwise str
Convert an int/float/str to a binary number in string, e.g., 1.65 -> '110001101110110110110101'
        :param message: int/float/str
        :return: -1 if type error, otherwise str
Convert an int / float / str to a binary number in string e . g . 1 . 65 - > 110001101110110110110101 : param message : int / float / str : return : - 1 if type error otherwise str
def _all_to_bin(message):
        """
        Convert an int/float/str to a binary number in string, e.g., 1.65 -> '110001101110110110110101'
        :param message: int/float/str
        :return: -1 if type error, otherwise str
        """
        if type(message) == int or type(message) == float:
            return conversion.str_to_bin(str(message))
        elif type(message) == str:
            return conversion.str_to_bin(message)
        else:
            return -1
def _all_to_bin ( message ) : if type ( message ) == int or type ( message ) == float : return conversion . str_to_bin ( str ( message ) ) elif type ( message ) == str : return conversion . str_to_bin ( message ) else : return - 1