To see what your code is doing, add some printlns to print out the values of the variables as they are used to compute the results.
Type: Posts; User: Norm
To see what your code is doing, add some printlns to print out the values of the variables as they are used to compute the results.
Print out the values of widthIn and heightIn to be sure they are what you expect the method to receive.