import struct


def translate_float_to_payload(float_value, original_payload):
    """
    This function will convert a float number to a raw package payload

    :param float_value: The float number to convert
    :param original_payload: The original payload of the packet
    """
    float_in_bytes = struct.pack('<f', float_value)
    result = original_payload[0:-4] + float_in_bytes
    return result