Origin: Show consistent number of decimals in eth values

Created on 31 May 2018  ยท  9Comments  ยท  Source: OriginProtocol/origin

We currently show different number of decimals everywhere we display a price in eth:

10 decimals

image

5 decimals

image

3 decimals

image

In discussion with @DanielVF and @joshfraser we casually settled on 5 decimals, as at current prices this makes the least significant digit roughly equal to one cent.

good first issue uux

Most helpful comment

๐Ÿ’ช

On Thu, Aug 16, 2018 at 2:21 PM, Micah Alcorn notifications@github.com
wrote:

Closed #244 https://github.com/OriginProtocol/origin-dapp/issues/244.

โ€”
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/origin-dapp/issues/244#event-1793407092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnE47vENtTNnIyYvlEFDv8Tn43mPcZGkks5uReJTgaJpZM4UUQlO
.

--
Kay Yoo
Finance & Operations
Origin Protocol http://originprotocol.com

All 9 comments

Yeah, I think for now go with five for ETH, and tooltip display a minimum of five with any extra needed decimals for the people with accounting in their blood.

@kayyoo23 is on this one!

The latest release shows 3 decimals on user profile page, while listings show 5.

image

image

Talk to @kayyoo23 ๐Ÿ˜

Yesss I will finish this up tomorrow!

๐Ÿ˜‚

On Tue, Aug 14, 2018 at 7:50 PM, Micah Alcorn notifications@github.com
wrote:

Talk to @kayyoo23 https://github.com/kayyoo23 ๐Ÿ˜

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/origin-dapp/issues/244#issuecomment-413078297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnE47tj-a2HdNzcTuX9CUppBQzdubkpAks5uQ4xzgaJpZM4UUQlO
.

--
Kay Yoo
Finance & Operations
Origin Protocol http://originprotocol.com

Resolved by #337 ๐Ÿ’ช

๐Ÿ’ช

On Thu, Aug 16, 2018 at 2:21 PM, Micah Alcorn notifications@github.com
wrote:

Closed #244 https://github.com/OriginProtocol/origin-dapp/issues/244.

โ€”
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/origin-dapp/issues/244#event-1793407092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnE47vENtTNnIyYvlEFDv8Tn43mPcZGkks5uReJTgaJpZM4UUQlO
.

--
Kay Yoo
Finance & Operations
Origin Protocol http://originprotocol.com

@wanderingstan @joshfraser just documenting here that we discussed this again in today's product meeting and decided to leave everything at five-digit precision for now. As I see it, there are two separate questions:

  • what level of rounding precision (3.14 vs 3.14159 vs 3.14159265359)
  • whether or not to enforce consistent precision despite zeros (1 vs 1.00000)

Besides favoring no change because we didn't want to prioritize this debate, we tended to prefer the visual consistency of always displaying five digits. And in Origin Wallet, we are going to be showing gas cost, which more naturally lends itself to additional digits. Our hope is that stablecoins will become the most common denomination, in which case we can make the numbers more-closely resemble fiat.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

micahalcorn picture micahalcorn  ยท  6Comments

micahalcorn picture micahalcorn  ยท  5Comments

davecraige picture davecraige  ยท  5Comments

davecraige picture davecraige  ยท  9Comments

micahalcorn picture micahalcorn  ยท  6Comments