Isnt the formula w=-P*(pressurefinal-pressureinitial) with the pressure measured in atmospheres?
Doesn't matter what units pressure is masured in, as long as you are using constistent units throughout all formula.
Different example, but one that you should easily grasp:
s = v t
Distance covered equals product of time and speed. Does it matter if you measure speed in km/h or mph, or m/s or even feet per second? No, formula holds in all cases, just time have to be expressed in second or hours and calculated distance will be in feets, meters, kilometers or miles - but that's just units, and formula is universal.
Same holds for EVERY correct physical formula you will ever encounter.