Logo GenPRES

Choice Type

How a value is selected from the range a variable offers.

Union cases

Union case Description

Max

Full Usage: Max

Median

Full Usage: Median

Min

Full Usage: Min

Nearest(ValueUnit, NearestSide)

Full Usage: Nearest(ValueUnit, NearestSide)

Parameters:

The value nearest to the target on the given side, or the end of the range on that side of the target when the range has no value there.

Item1 : ValueUnit
Item2 : NearestSide

Nth int

Full Usage: Nth int

Parameters:
    Item : int

The nth value, counted from 0.

Item : int

Percentile int

Full Usage: Percentile int

Parameters:
    Item : int

The value at the given percentage through the values, from 0 to 100.

Item : int

Step(int, StepIncrement)

Full Usage: Step(int, StepIncrement)

Parameters:

The value the given number of increments up, or down when the number is negative.

Item1 : int
Item2 : StepIncrement

Instance members

Instance member Description

this.IsMax

Full Usage: this.IsMax

Returns: bool
Returns: bool

this.IsMedian

Full Usage: this.IsMedian

Returns: bool
Returns: bool

this.IsMin

Full Usage: this.IsMin

Returns: bool
Returns: bool

this.IsNearest

Full Usage: this.IsNearest

Returns: bool
Returns: bool

this.IsNth

Full Usage: this.IsNth

Returns: bool
Returns: bool

this.IsPercentile

Full Usage: this.IsPercentile

Returns: bool
Returns: bool

this.IsStep

Full Usage: this.IsStep

Returns: bool
Returns: bool

Type something to start searching.