Skip to content

Reduce number of decimals #6

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

Open
EMWPEWA opened this issue Sep 4, 2019 · 0 comments
Open

Reduce number of decimals #6

EMWPEWA opened this issue Sep 4, 2019 · 0 comments

Comments

@EMWPEWA
Copy link

EMWPEWA commented Sep 4, 2019

Hi
I am a newbie, but with the ambition to only ask same question once!? (we will see about that!!)
If I want to change outcome of exchange rate to 2 or 3 decimals, I shall change something here, like row 128 (I think)?

var rateSpan = document.createElement('span');
rateSpan.innerHTML = ((this.config.layoutStyle == 'ticker' && i < (this.rates.length - 1)) ? this.rates[i].rate + ' • ' : this.rates[i].rate);
rateContainer.appendChild(rateSpan);

But none of my experiment have succeeded!
Anyone that can give me some help?

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