non static value as PTM ratio box2D

Hi I need to know if there is anyway that I can set the PTM ratio for box2D physics to a value (32*scale) instead of just setting it to a static value. The issue that I am having is that when I put it on iPad or different sized screens the game is very slow due to the PTM ratio.

Dont worry I worked it out myself I created a static function that returned a float. Too easy.