Click or drag to resize

MathExValueOf Method (Int64, Int64, Int64, Int64, Int64)

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 long ValueOf(
	long value,
	long valueMin,
	long valueMax,
	long targetValueMin,
	long targetValueMax
)

Parameters

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

Return Value

Type: Int64

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

See Also