The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal toendValue, the valueendValue-1is recorded
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the Distribution class is 2.63.1, and the page lists various previous versions down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class records integer values from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e and computes their percentiles, and its methods can be called concurrently.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eDistribution\u003c/code\u003e object is created using a constructor that takes an integer \u003ccode\u003eendValue\u003c/code\u003e parameter, indicating the upper bound (exclusive) for recorded values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetPercentile\u003c/code\u003e method retrieves the percentile of recorded values as an integer, and is an approximation if called while values are being recorded with the \u003ccode\u003erecord()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erecord()\u003c/code\u003e method is used to record an integer value, if the value is greater than or equal to \u003ccode\u003eendValue\u003c/code\u003e, then it will record \u003ccode\u003eendValue-1\u003c/code\u003e instead.\u003c/p\u003e\n"]]],[],null,[]]