Skip to content
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

getBalance return not as string or number but this : 8e-8 #120

Open
inzider opened this issue May 8, 2020 · 0 comments
Open

getBalance return not as string or number but this : 8e-8 #120

inzider opened this issue May 8, 2020 · 0 comments

Comments

@inzider
Copy link

inzider commented May 8, 2020

Hi, I am aware of js trouble with the float.

But calling the getData('addr1') on a low balance address as 0.00000008 return 8e-8.
While lightly higher balance as 0.00000200 will return a number with correct value : 0.00000200.

Is there any setting?
I'm only trying to cover the whole 8 digit.
Could be return as string but not scientific notation aka 8e-8.
; )

Thx for advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant