fprintf('%-15s%-12s\n', 'PRICE', 'QUANTITY');
fprintf('%-15.2f%-12f', pq1, pq2);
This likely to be disconcerting to the users, as it will not align decimal points on the price, because of the requirement that the value start under the first letter of the header.
PRICE QUANTITY
0.37 123.000000
15.95 5000.000000
Notice that the first characters of the numbers align as is required by the problem, but that this is not how people would prefer to see information.