simple w*h*p calculator with locale support