Метод | Описание | |
---|---|---|
Clamp ( this value, byte min, byte max ) : byte |
Clamps the specified value to the given inclusive min..max range.
|
|
Clamp ( this value, double min, double max ) : double |
Clamps the specified value to the given inclusive min..max range.
|
|
Max ( byte v1, byte v2, byte v3 ) : byte |
Returns the maximum of 3 numbers.
|
|
Max ( byte v1, byte v2, byte v3, byte v4 ) : byte |
Returns the maximum of 4 numbers.
|
|
Max ( double v1, double v2, double v3 ) : double |
Returns the maximum of 3 numbers.
|
|
Max ( double v1, double v2, double v3, double v4 ) : double |
Returns the maximum of 4 numbers.
|
|
Min ( byte v1, byte v2, byte v3 ) : byte |
Returns the minimum of 3 numbers.
|
|
Min ( byte v1, byte v2, byte v3, byte v4 ) : byte |
Returns the minimum of 4 numbers.
|
|
Min ( double v1, double v2, double v3 ) : double |
Returns the minimum of 3 numbers.
|
|
Min ( double v1, double v2, double v3, double v4 ) : double |
Returns the minimum of 4 numbers.
|
public static Clamp ( this value, byte min, byte max ) : byte | ||
value | this | The value. |
min | byte | The min. |
max | byte | The max. |
Результат | byte |
public static Clamp ( this value, double min, double max ) : double | ||
value | this | The value. |
min | double | The min. |
max | double | The max. |
Результат | double |
public static Max ( byte v1, byte v2, byte v3 ) : byte | ||
v1 | byte | The v1. |
v2 | byte | The v2. |
v3 | byte | The v3. |
Результат | byte |
public static Max ( byte v1, byte v2, byte v3, byte v4 ) : byte | ||
v1 | byte | The v1. |
v2 | byte | The v2. |
v3 | byte | The v3. |
v4 | byte | The v4. |
Результат | byte |
public static Max ( double v1, double v2, double v3 ) : double | ||
v1 | double | The v1. |
v2 | double | The v2. |
v3 | double | The v3. |
Результат | double |
public static Max ( double v1, double v2, double v3, double v4 ) : double | ||
v1 | double | The v1. |
v2 | double | The v2. |
v3 | double | The v3. |
v4 | double | The v4. |
Результат | double |
public static Min ( byte v1, byte v2, byte v3 ) : byte | ||
v1 | byte | The v1. |
v2 | byte | The v2. |
v3 | byte | The v3. |
Результат | byte |
public static Min ( byte v1, byte v2, byte v3, byte v4 ) : byte | ||
v1 | byte | The v1. |
v2 | byte | The v2. |
v3 | byte | The v3. |
v4 | byte | The v4. |
Результат | byte |
public static Min ( double v1, double v2, double v3 ) : double | ||
v1 | double | The v1. |
v2 | double | The v2. |
v3 | double | The v3. |
Результат | double |
public static Min ( double v1, double v2, double v3, double v4 ) : double | ||
v1 | double | The v1. |
v2 | double | The v2. |
v3 | double | The v3. |
v4 | double | The v4. |
Результат | double |