Click or drag to resize

MathExValueOf Method (Int32, Int32, Int32)

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 int ValueOf(
	int value,
	int valueMax,
	int targetValueMax
)

Parameters

value
Type: SystemInt32
Current value of the systems
valueMax
Type: SystemInt32
Maximum value of the current system
targetValueMax
Type: SystemInt32
Minimum value of the target system

Return Value

Type: Int32

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

See Also