sprintf – Unknown format specifier “P”
I need to sometimes display the text of the discount directly and sometimes replace the numerical value. When the text is generated the system will do something like “Discount is %s”. When filling out the discount, the operator will write “Discount is 10%”.