New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI representation of token amount might be misleading #2275

Closed
CosminNechifor opened this Issue Aug 27, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@CosminNechifor
Collaborator

CosminNechifor commented Aug 27, 2018

Problem Definition

After I opened a channel and deposited 80 tokens I had the vague impression that I only deposited 8, because in the UI the amount was shown as 0.0000008 instead of 0.00000080.

@kelsos

This comment has been minimized.

Contributor

kelsos commented Aug 27, 2018

@CosminNechifor I had a discussion with @andrevmatos and he raised some valid points.
The default/suggested decimal value is 18 decimal points so you will have 0.100000000000000000 if you don't truncate decimal points instead of 0.1.

I having a look at wallet apps to see if there is a common pattern used.

@CosminNechifor

This comment has been minimized.

Collaborator

CosminNechifor commented Aug 28, 2018

@kelsos good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment