Author Topic: Turning a trigger expression to 1 decimal place instead of 8 ?  (Read 2450 times)

Tags:
  • All members
  • Posts: 49
hi all

Regarding football matches, would anyone know how i can get the expression below to return just 1.5, 2.5, 3.5 etc

For example when the current score is 1-0, the trigger log returns 3.50000000 which then stops my trigger firing in the under/over 3.5 goals market, which i presume is because of the 8 extra zero's not appearing in the selections name.

In short how do i remove the zero's

Trigger Expression:
selections name contains: ((market_score1+1.5) + market_score2)


Trigger Log:
Selection: Under 3.5 Goals, initial expr.: ((market_score1+2.5) + market_score2), intermediate: ((1+2.5)+0), final: 3.50000000.

thanks

  • Moderator
  • Posts: 3605
*
Hi
Please see the attached trigger file as an example. I tested it and it picks out the markets and selections correctly.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 49
perfect !!

thanks very much Mark...

 

Please note, BetFair is seems to be currently OFFLINE