IntRangeGetHighBound Method
Return the closest value greater than or equal to the specified value
to find.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static int GetHighBound(
int[] values,
int find
)
Public Shared Function GetHighBound (
values As Integer(),
find As Integer
) As Integer
No code example is currently available or this language may not be supported.
- values Int32
-
Array of integers to search.
- find Int32
-
Value to find.
Int32
The closest value greater than or equal to the specified find value,
if found. Otherwise, -1.
This method assumes that all members of the values array are sequential
in value, but not necessarily incremental. For example, 1, 3, 5, but
not 1, 5, 3.