BitShares Forum

Main => General Discussion => Topic started by: emski on September 25, 2014, 09:49:21 pm

Title: Price Feed Precision Issue
Post by: emski on September 25, 2014, 09:49:21 pm
The following command:

wallet_publish_price_feed emski 0.1914 CNY

generated the following feed:

2014-09-25T16:23:39 578771    emski               emski               0.00000 BTSX            publish price 0.19139999999999996 CNY / ... 0.50000 BTSX        7c78e050
2

Is the insignificant inaccuracy in the published feed expected ?
Title: Re: Price Feed Precision Issue
Post by: CoinHoarder on September 25, 2014, 10:22:20 pm
The following command:

wallet_publish_price_feed emski 0.1914 CNY

generated the following feed:

2014-09-25T16:23:39 578771    emski               emski               0.00000 BTSX            publish price 0.19139999999999996 CNY / ... 0.50000 BTSX        7c78e050
2

Is the insignificant inaccuracy in the published feed expected ?

I've seen this before too
Title: Re: Price Feed Precision Issue
Post by: toast on September 25, 2014, 11:10:44 pm
They are parsed as floats so it is expected

Sent from my SCH-I535 using Tapatalk