Create A New Asset - Precision??

Started by levent, August 23, 2014, 07:33:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: toast on August 23, 2014, 10:03:32 PM
Quote from: xeroc on August 23, 2014, 07:44:04 PM
you want your shares to be dividable? if no your precision should be "0" .. if you want it like USD dollar ... with up to 99 cents .. your precision should be "2"

in short: decimal places

nooooo it should be 100
oh damnit ... sorry

it 10 to the power of 0 and 10 to the power of 2 ;-)

thanks for correcting me ...


BTW. there is a testnet running (resets sometimes) it is in the github.com/BitShares repos and is called bitshares_toolkit ..
some devs can send you some funds and you can play around with the assets for free

tonyk

#6
Quote from: emski on August 23, 2014, 10:05:03 PM
If unsure test it! It will cost you just a few thousand dollars.

LOL

>>precision (int64_t, optional, defaults to 1000000): defines where the decimal should be displayed, must be a power of 10
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

emski

Quote from: toast on August 23, 2014, 10:03:32 PM
Quote from: xeroc on August 23, 2014, 07:44:04 PM
you want your shares to be dividable? if no your precision should be "0" .. if you want it like USD dollar ... with up to 99 cents .. your precision should be "2"

in short: decimal places

nooooo it should be 100

If unsure test it! It will cost you just a few thousand dollars.
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

toast

Quote from: xeroc on August 23, 2014, 07:44:04 PM
you want your shares to be dividable? if no your precision should be "0" .. if you want it like USD dollar ... with up to 99 cents .. your precision should be "2"

in short: decimal places

nooooo it should be 100
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.


xeroc

you want your shares to be dividable? if no your precision should be "0" .. if you want it like USD dollar ... with up to 99 cents .. your precision should be "2"

in short: decimal places

levent

Create A New Asset


What is the Precision??