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

  • All members
  • Posts: 12
  • Karma: +0/-0
BUG: ABS removes decimal part of number
« on: Thu, 31 January, 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: 6108
  • Karma: +208/-2
  • Gender: Female
*
Re: BUG: ABS removes decimal part of number
« Reply #1 on: Sat, 02 February, 2013, 09:31 »
Thanks, will look into this.
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!