Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Decimal Places in Total #6

Open
DesignerWhere opened this issue Feb 4, 2015 · 1 comment
Open

Decimal Places in Total #6

DesignerWhere opened this issue Feb 4, 2015 · 1 comment

Comments

@DesignerWhere
Copy link

I noticed that the TOTAL defaults to a single decimal place, so even it's a whole number, it still shows 120.0

Is it possible to adjust it so if there's no decimal places, it defaults to a whole number, and if there is, then it shows it? Maybe with a setting to control the number of decimal places?

Thanks

@DesignerWhere
Copy link
Author

I found a line:

.text((segmentTotal * animationDecimal).toFixed(0));

Which I've adjust to ".toFixed(0));" from the default of ".toFixed(1));" - maybe make this within the options settings?

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

No branches or pull requests

1 participant