Skip to content

Add clarification to Percentage form spec's consumer model doc#893

Open
kbuettner wants to merge 2 commits intoCheckmk:masterfrom
kbuettner:fs_percentage_doc_improvement
Open

Add clarification to Percentage form spec's consumer model doc#893
kbuettner wants to merge 2 commits intoCheckmk:masterfrom
kbuettner:fs_percentage_doc_improvement

Conversation

@kbuettner
Copy link
Contributor

General information

A minor suggestion for improvement of the Percentage form spec's documentation

Proposed changes

Maybe I am particularly dumb, but every time I find myself using the Percentage form spec, I am unsure of the consumer model.

Problem: There are two obvious ways to represent a percentage as a floating point value, namely as a fraction or directly as a percentage. (Is 80% represented as 80.0 or 0.8?)

Solution: Give a hint in the documentation, so it is abundantly clear without having to dig into the code every time.

@kbuettner kbuettner force-pushed the fs_percentage_doc_improvement branch from 297ba95 to d09c222 Compare February 6, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants