Click or drag to resize

MathExValueOf Method (Single, Single, Single, Single, Single)

Calculates the percentage relationship of two values

Namespace:  System
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static float ValueOf(
	float value,
	float valueMin,
	float valueMax,
	float targetValueMin,
	float targetValueMax
)

Parameters

value
Type: SystemSingle
Current value of the systems
valueMin
Type: SystemSingle
Minimum value of the current system
valueMax
Type: SystemSingle
Maximum value of the current system
targetValueMin
Type: SystemSingle
Minimum value of the target system
targetValueMax
Type: SystemSingle
Maximum value of the target system

Return Value

Type: Single

[Missing <returns> documentation for "M:System.MathEx.ValueOf(System.Single,System.Single,System.Single,System.Single,System.Single)"]

See Also