Erase one various fields once in customer register

Hi! my Friend

I want to split the bill from the table.

In 2 or more people and print in ticket

I found a topic related to this but did not work

When I add the command

{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
[Payment By Guest:|[=F(TN(‘{TICKET TOTAL}’) / TN(‘{SETTING:NUMBERPAD}’))]]

On the ticket so displays


BAR E RESTAURANTE PIERROT

Data:01/02/2017
Hora:10:42
Mesa: S-05

  • 1 Aipim Frito 16,00
  • 1 Fanta Laranja Lat 4,00
  • 1 File de Tilapia 54,90
  • 1 Carangueijo 6,90
  • 1 Camarao VG 79,00
    ==============================
    Sub-Total:
    Payment By Guest: +Infinito <<<<<=============== this is the problem
    Total: R$ 160,80
    ==============================
    • OBRIGADO POR VIR *
    • THANK YOU FOR COMMING *
      • GRACIAS POR VENIR *

  * CUPOM NÃO FISCAL *

OBS: Displays the word infinity, not the total divided

CAN YOU HELP ME

THANK YOU MY FRIEND…