Pages:
Actions
  • #1 by Jr Galgos on 02 Mar 2018
  • Hello

    Is there a variable that indicates a difference (ticks) between the current backprices of players 1 and 2 in tennis?
  • #2 by Oxa (WellDoneSoft) on 03 Mar 2018
  • Hello!

    g_ticks(s_1_back_price, s_2_back_price)

    If it is positive, then the back price of Player 2 is higher than that of Player 1 by the number of ticks returned.
    If it is negative, then the back price of Player 2 is lower than that of Player 1 by the number of ticks returned.
  • #3 by Jr Galgos on 04 Mar 2018
  • Thank you Oxa.

    To complement, who wants to take the absolute difference (always positive value), use ABS function:

    ABS(g_ticks (s_1_back_price, s_2_back_price))
  • #4 by Oxa (WellDoneSoft) on 05 Mar 2018
  • Great, thanks for being helpful on the forum!
Pages:
Actions