Author Topic: Create A New Asset - Precision??  (Read 2128 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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

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

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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
« Last Edit: August 23, 2014, 10:13:50 pm by TheOnion »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
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.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
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.

Offline levent

  • Newbie
  • *
  • Posts: 12
    • View Profile

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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

Offline levent

  • Newbie
  • *
  • Posts: 12
    • View Profile
Create A New Asset


What is the Precision??