number of decimals in an asset

+2 votes
Hello Guys,

I am new in multichain. I would like to know how I can reduce the numbers of decimals when issuen an asset. for example: when If I try "asset1" "10" the outcome is

"name" : "asset1" "qty" : 10.00000000 and I just want this to be "qty" : 10.00

how do I do it?
asked Jul 25, 2017 by Raynier

1 Answer

0 votes
This is just a matter or formatting in the JSON-RPC response and there is no direct way to control it. However whichever language you use to work with the MultiChain API should enable you to control how the number is actually displayed in your application.
answered Jul 25, 2017 by MultiChain