I am working through the notorious Rosetta Stone Latin and they have the phrase "hoc pacto" seemingly as a synonym for quo modo. So, for example, there are sentences like:
Solum hoc pacto purgandum est. (The floor must be cleaned like this.)
I could not really find this meaning in Lewis & Short. Pacto seems to mean an agreement or bargain, so I am trying to figure how they getting this "in this way" idiom. Is there some other noun pactus that I am unaware of or something?