stellar-client icon indicating copy to clipboard operation
stellar-client copied to clipboard

orders can show up as 0 for amount and value

Open thejollyrogers opened this issue 11 years ago • 2 comments

jared informs me this is due to rounding, but it looks really weird to have multiple orders in the order book showing up as 0. maybe we should do something like truncate in the middle of the number to avoid it going off the edge of the container, like 0.00...001? @wynlim thoughts? stellar

thejollyrogers avatar Oct 08 '14 01:10 thejollyrogers

We should definitely have a better representation and accuracy of numbers.

wynlim avatar Oct 17 '14 18:10 wynlim

if(roundedAmount === '0') return 'dust';

deckar01 avatar Oct 21 '14 17:10 deckar01