Need Help with custom reciept code

I need to use "\t" (total pages) and "\p" (current page) to perform the following operation in a receipt template for RMS but cannot get it to work is it possible to cast the variables or something?

"\t" "\p"

CurrentPage = (TotalPage / 3) * 2

Thanks

Richard

Reply to
Richard
Loading thread data ...

What kind of result do you get?

Reply to
Julien Bonnier

It just Short Circuits to the else statement I think it has to do with a type mismatch but cannot get it to work I have also tried "\t" = "1" and "\t" = "01"

still same result

Reply to
Richard

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.