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

Clarify Precision function in Timelion Kibana #444

Closed
jaijhala opened this issue Oct 25, 2018 · 1 comment
Closed

Clarify Precision function in Timelion Kibana #444

jaijhala opened this issue Oct 25, 2018 · 1 comment
Labels
docs DO NOT USE for *contents* of our docs. Only use for documentation *about* this repo. enhancement Something we'd like to improve

Comments

@jaijhala
Copy link

There seems to be a confusion with how Precision function really works.

The description of .precision only says the data is rounded, but doesn't specify a direction, like rounded down (it does imply one by using the name "precision"). If we follow normal rounding rules, 0.99 would be rounded to 1 where 0.99 with a precision of 0 would be 0 as in 0.99 with no decimal places.

I think it would be good to clarify this maybe with an example as well or a note that the excess decimals are dropped or the number is "rounded down" to precision instead of just "rounded".

@jaijhala jaijhala added enhancement Something we'd like to improve docs DO NOT USE for *contents* of our docs. Only use for documentation *about* this repo. labels Oct 25, 2018
@lcawl
Copy link
Contributor

lcawl commented Nov 22, 2018

I've created elastic/kibana#26100. If you have additional info or documentation links to contribute, please add them there!

@lcawl lcawl closed this as completed Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs DO NOT USE for *contents* of our docs. Only use for documentation *about* this repo. enhancement Something we'd like to improve
Projects
None yet
Development

No branches or pull requests

2 participants