Method | Description | |
---|---|---|
WithinBounds ( double value, double min, double max ) : double |
Ensures a value is within the given bounds.
|
public WithinBounds ( double value, double min, double max ) : double | ||
value | double | The number to examine. |
min | double | The minimum value. |
max | double | The maximum value. |
return | double |