Ensures that the passed value is equal to or between the passed limits.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public static double MoveToRange(
	this double value,
	double minValue,
	double maxValue
)

Parameters

value
Type: System..::..Double
The value to move.
minValue
Type: System..::..Double
The lower value in the permitted range.
maxValue
Type: System..::..Double
The upper value in the permitted range.

Return Value

A Double value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also