def round_to_memory_units(memory_bytes, round_up):
    'Round bytes to the nearest memory unit.'
    return from_memory_units(to_memory_units(memory_bytes, round_up))
Round bytes to the nearest memory unit.
def round_to_memory_units(memory_bytes, round_up):
    
    return from_memory_units(to_memory_units(memory_bytes, round_up))