| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > StepRealClass > StepRealClass Methods >====== GetPercentile (return a value's percentile:StepRealClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[steprealclass methods.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getvalue return a percentile s value steprealclass .htm|{{btn_next_n.gif|Next page}}]] | | || **GetPercentile(** //value// **), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **GetPercentile** | Returns the specified //value//'s percentile relative to the StepRealClass object's boundaries. | | //Value// | A constant, variable, EQUATE, or expression that specifies the value for which to calculate the percentile. | The **GetPercentile **method returns the specified //value//'s percentile relative to the StepRealClass object's upper and lower boundaries. For example, if the bounds are 0 and 1000 then GetPercentile(750) returns 75. **Implementation:** The SetLimit method sets the StepRealClass object's upper and lower boundaries. **Return Data Type:**     BYTE **Example:** ** IF FIELD() = ?Locator                     !focus on locator field** **  IF EVENT() = EVENT:Accepted              !if accepted** **   MyBrowse.TakeAcceptedLocator            !BrowseClass handles it** **                                           !position thumb to match:** **   ?MyList{PROP:VScrollPos}=MyStep.GetPercentile(Locator) ** **  END** ** END** **See Also:     **[[setlimit set smooth data distribution steprealclass .htm|SetLimit]]