Author Topic: BUG: ABS removes decimal part of number  (Read 2638 times)

Tags:
  • All members
  • Posts: 12
BUG: ABS removes decimal part of number
« on: 31 Jan 2013, 11:33 »
The ABS function is removing the decimal part of a number.

e.g.
tradeType: [tradeType], layPrice:  [lay_price], backPrice: [back_price], ABS(total): [ABS(total)], total: [total]

writes this to the log:
Special log message from trigger "SET hedgeStake". tradeType: "LAY", layPrice: 1.67, backPrice: 1.54, ABS(total): 6.00000000, total: 6.48000000. Market "Soccer - Fixtures / Fixtures 31 January / Skonto Riga v FK Daugava Riga / Over/Under 2.5 Goals - Over/Under 2.5 Goals".

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: BUG: ABS removes decimal part of number
« Reply #1 on: 02 Feb 2013, 09:31 »
Thanks, will look into this.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE