Name

Partition Function — Microsoft.VisualBasic.Interaction

Synopsis

Partition(number, start, stop, interval)
number required; Long

Number to evaluate against the intervals

start required; Long

Start of the range. Must be non-negative

stop required; Long

End of the range. Must be greater than start

interval required; Long

Size of each interval into which the range is partitioned

Return Value

A String containing the range within which number falls

Description

Returns a string that describes which interval contains the number.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.