supply optional prec (precision) argument to pxValue and ptValue methods so that they can give different precisions in different circumstances; default to 2 decimal places