If you're not yet familiar with how the math of a slider works, it's recommended to first learn that here.

The main difference is the slider has the capability to multiply the values of any elements in the same subsection, whereas the number input box does not.

Some users might have to reverse might have to swap a slider for a quantity box, and vice versa to achieve their desired result.